-
- All Implemented Interfaces:
public class DriverDistractionEvent.Builder extends Event.Builder<T>
-
-
Method Summary
Modifier and Type Method Description DriverDistractionEvent.BuildersetDistractionType(DriverDistractionEvent.DistractionType distraction_type)Sets distraction type on this builder. DriverDistractionEvent.BuildersetSpeedLimit(Double speed_limit)Sets speed limit on this builder. DriverDistractionEvent.BuildersetDistractionStartProbeItem(ProbeListItem distraction_start_probe_item)Sets distraction start probe item on this builder. DriverDistractionEvent.BuildersetDistractionEndProbeItem(ProbeListItem distraction_end_probe_item)Sets distraction end probe item on this builder. DriverDistractionEvent.BuildersetDuration(Long duration)Sets duration on this builder. DriverDistractionEvent.BuildersetDistance(Double distance)Sets distance on this builder. DriverDistractionEvent.BuildersetSpeed(Double speed)Sets speed on this builder. -
-
Method Detail
-
setDistractionType
DriverDistractionEvent.Builder setDistractionType(DriverDistractionEvent.DistractionType distraction_type)
Sets distraction type on this builder.
- Parameters:
distraction_type- distraction type
-
setSpeedLimit
DriverDistractionEvent.Builder setSpeedLimit(Double speed_limit)
Sets speed limit on this builder.
- Parameters:
speed_limit- speed limit
-
setDistractionStartProbeItem
DriverDistractionEvent.Builder setDistractionStartProbeItem(ProbeListItem distraction_start_probe_item)
Sets distraction start probe item on this builder.
- Parameters:
distraction_start_probe_item- distraction start probe item
-
setDistractionEndProbeItem
DriverDistractionEvent.Builder setDistractionEndProbeItem(ProbeListItem distraction_end_probe_item)
Sets distraction end probe item on this builder.
- Parameters:
distraction_end_probe_item- distraction end probe item
-
setDuration
DriverDistractionEvent.Builder setDuration(Long duration)
Sets duration on this builder.
- Parameters:
duration- duration
-
setDistance
DriverDistractionEvent.Builder setDistance(Double distance)
Sets distance on this builder.
- Parameters:
distance- distance
-
setSpeed
DriverDistractionEvent.Builder setSpeed(Double speed)
Sets speed on this builder.
- Parameters:
speed- speed
-
-
-
-