Interface RouteVehicleTravelStep.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteVehicleTravelStep.Builder,
,RouteVehicleTravelStep> SdkBuilder<RouteVehicleTravelStep.Builder,
,RouteVehicleTravelStep> SdkPojo
- Enclosing class:
RouteVehicleTravelStep
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteVehicleTravelStep.Builder
continueHighwayStepDetails
(Consumer<RouteContinueHighwayStepDetails.Builder> continueHighwayStepDetails) Details that are specific to a Continue Highway step.continueHighwayStepDetails
(RouteContinueHighwayStepDetails continueHighwayStepDetails) Details that are specific to a Continue Highway step.default RouteVehicleTravelStep.Builder
continueStepDetails
(Consumer<RouteContinueStepDetails.Builder> continueStepDetails) Details that are specific to a Continue step.continueStepDetails
(RouteContinueStepDetails continueStepDetails) Details that are specific to a Continue step.default RouteVehicleTravelStep.Builder
currentRoad
(Consumer<RouteRoad.Builder> currentRoad) Details of the current road.currentRoad
(RouteRoad currentRoad) Details of the current road.Distance of the step.Duration of the step.default RouteVehicleTravelStep.Builder
enterHighwayStepDetails
(Consumer<RouteEnterHighwayStepDetails.Builder> enterHighwayStepDetails) Details that are specific to a Enter Highway step.enterHighwayStepDetails
(RouteEnterHighwayStepDetails enterHighwayStepDetails) Details that are specific to a Enter Highway step.exitNumber
(Collection<LocalizedString> exitNumber) Exit number of the road exit, if applicable.exitNumber
(Consumer<LocalizedString.Builder>... exitNumber) Exit number of the road exit, if applicable.exitNumber
(LocalizedString... exitNumber) Exit number of the road exit, if applicable.default RouteVehicleTravelStep.Builder
exitStepDetails
(Consumer<RouteExitStepDetails.Builder> exitStepDetails) Details that are specific to a Roundabout Exit step.exitStepDetails
(RouteExitStepDetails exitStepDetails) Details that are specific to a Roundabout Exit step.geometryOffset
(Integer geometryOffset) Offset in the leg geometry corresponding to the start of this step.instruction
(String instruction) Brief description of the step in the requested language.default RouteVehicleTravelStep.Builder
keepStepDetails
(Consumer<RouteKeepStepDetails.Builder> keepStepDetails) Details that are specific to a Keep step.keepStepDetails
(RouteKeepStepDetails keepStepDetails) Details that are specific to a Keep step.default RouteVehicleTravelStep.Builder
nextRoad
(Consumer<RouteRoad.Builder> nextRoad) Details of the next road.Details of the next road.default RouteVehicleTravelStep.Builder
rampStepDetails
(Consumer<RouteRampStepDetails.Builder> rampStepDetails) Details that are specific to a Ramp step.rampStepDetails
(RouteRampStepDetails rampStepDetails) Details that are specific to a Ramp step.default RouteVehicleTravelStep.Builder
roundaboutEnterStepDetails
(Consumer<RouteRoundaboutEnterStepDetails.Builder> roundaboutEnterStepDetails) Details that are specific to a Roundabout Enter step.roundaboutEnterStepDetails
(RouteRoundaboutEnterStepDetails roundaboutEnterStepDetails) Details that are specific to a Roundabout Enter step.default RouteVehicleTravelStep.Builder
roundaboutExitStepDetails
(Consumer<RouteRoundaboutExitStepDetails.Builder> roundaboutExitStepDetails) Details that are specific to a Roundabout Exit step.roundaboutExitStepDetails
(RouteRoundaboutExitStepDetails roundaboutExitStepDetails) Details that are specific to a Roundabout Exit step.default RouteVehicleTravelStep.Builder
roundaboutPassStepDetails
(Consumer<RouteRoundaboutPassStepDetails.Builder> roundaboutPassStepDetails) Details that are specific to a Roundabout Pass step.roundaboutPassStepDetails
(RouteRoundaboutPassStepDetails roundaboutPassStepDetails) Details that are specific to a Roundabout Pass step.default RouteVehicleTravelStep.Builder
signpost
(Consumer<RouteSignpost.Builder> signpost) Sign post information of the action, applicable only for TurnByTurn steps.signpost
(RouteSignpost signpost) Sign post information of the action, applicable only for TurnByTurn steps.default RouteVehicleTravelStep.Builder
turnStepDetails
(Consumer<RouteTurnStepDetails.Builder> turnStepDetails) Details that are specific to a Turn step.turnStepDetails
(RouteTurnStepDetails turnStepDetails) Details that are specific to a Turn step.Type of the step.Type of the step.default RouteVehicleTravelStep.Builder
uTurnStepDetails
(Consumer<RouteUTurnStepDetails.Builder> uTurnStepDetails) Details that are specific to a Turn step.uTurnStepDetails
(RouteUTurnStepDetails uTurnStepDetails) Details that are specific to a Turn step.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
continueHighwayStepDetails
RouteVehicleTravelStep.Builder continueHighwayStepDetails(RouteContinueHighwayStepDetails continueHighwayStepDetails) Details that are specific to a Continue Highway step.
- Parameters:
continueHighwayStepDetails
- Details that are specific to a Continue Highway step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
continueHighwayStepDetails
default RouteVehicleTravelStep.Builder continueHighwayStepDetails(Consumer<RouteContinueHighwayStepDetails.Builder> continueHighwayStepDetails) Details that are specific to a Continue Highway step.
This is a convenience method that creates an instance of theRouteContinueHighwayStepDetails.Builder
avoiding the need to create one manually viaRouteContinueHighwayStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontinueHighwayStepDetails(RouteContinueHighwayStepDetails)
.- Parameters:
continueHighwayStepDetails
- a consumer that will call methods onRouteContinueHighwayStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
continueStepDetails
Details that are specific to a Continue step.
- Parameters:
continueStepDetails
- Details that are specific to a Continue step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
continueStepDetails
default RouteVehicleTravelStep.Builder continueStepDetails(Consumer<RouteContinueStepDetails.Builder> continueStepDetails) Details that are specific to a Continue step.
This is a convenience method that creates an instance of theRouteContinueStepDetails.Builder
avoiding the need to create one manually viaRouteContinueStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontinueStepDetails(RouteContinueStepDetails)
.- Parameters:
continueStepDetails
- a consumer that will call methods onRouteContinueStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentRoad
Details of the current road.
- Parameters:
currentRoad
- Details of the current road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRoad
Details of the current road.
This is a convenience method that creates an instance of theRouteRoad.Builder
avoiding the need to create one manually viaRouteRoad.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentRoad(RouteRoad)
.- Parameters:
currentRoad
- a consumer that will call methods onRouteRoad.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
distance
Distance of the step.
- Parameters:
distance
- Distance of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
Duration of the step.
Unit:
seconds
- Parameters:
duration
- Duration of the step.Unit:
seconds
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enterHighwayStepDetails
RouteVehicleTravelStep.Builder enterHighwayStepDetails(RouteEnterHighwayStepDetails enterHighwayStepDetails) Details that are specific to a Enter Highway step.
- Parameters:
enterHighwayStepDetails
- Details that are specific to a Enter Highway step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enterHighwayStepDetails
default RouteVehicleTravelStep.Builder enterHighwayStepDetails(Consumer<RouteEnterHighwayStepDetails.Builder> enterHighwayStepDetails) Details that are specific to a Enter Highway step.
This is a convenience method that creates an instance of theRouteEnterHighwayStepDetails.Builder
avoiding the need to create one manually viaRouteEnterHighwayStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenterHighwayStepDetails(RouteEnterHighwayStepDetails)
.- Parameters:
enterHighwayStepDetails
- a consumer that will call methods onRouteEnterHighwayStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exitNumber
Exit number of the road exit, if applicable.
- Parameters:
exitNumber
- Exit number of the road exit, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exitNumber
Exit number of the road exit, if applicable.
- Parameters:
exitNumber
- Exit number of the road exit, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exitNumber
Exit number of the road exit, if applicable.
This is a convenience method that creates an instance of theLocalizedString.Builder
avoiding the need to create one manually viaLocalizedString.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexitNumber(List<LocalizedString>)
.- Parameters:
exitNumber
- a consumer that will call methods onLocalizedString.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exitStepDetails
Details that are specific to a Roundabout Exit step.
- Parameters:
exitStepDetails
- Details that are specific to a Roundabout Exit step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exitStepDetails
default RouteVehicleTravelStep.Builder exitStepDetails(Consumer<RouteExitStepDetails.Builder> exitStepDetails) Details that are specific to a Roundabout Exit step.
This is a convenience method that creates an instance of theRouteExitStepDetails.Builder
avoiding the need to create one manually viaRouteExitStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexitStepDetails(RouteExitStepDetails)
.- Parameters:
exitStepDetails
- a consumer that will call methods onRouteExitStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
geometryOffset
Offset in the leg geometry corresponding to the start of this step.
- Parameters:
geometryOffset
- Offset in the leg geometry corresponding to the start of this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instruction
Brief description of the step in the requested language.
Only available when the TravelStepType is Default.
- Parameters:
instruction
- Brief description of the step in the requested language.Only available when the TravelStepType is Default.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keepStepDetails
Details that are specific to a Keep step.
- Parameters:
keepStepDetails
- Details that are specific to a Keep step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keepStepDetails
default RouteVehicleTravelStep.Builder keepStepDetails(Consumer<RouteKeepStepDetails.Builder> keepStepDetails) Details that are specific to a Keep step.
This is a convenience method that creates an instance of theRouteKeepStepDetails.Builder
avoiding the need to create one manually viaRouteKeepStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeepStepDetails(RouteKeepStepDetails)
.- Parameters:
keepStepDetails
- a consumer that will call methods onRouteKeepStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextRoad
Details of the next road. See RouteRoad for details of sub-attributes.
- Parameters:
nextRoad
- Details of the next road. See RouteRoad for details of sub-attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextRoad
Details of the next road. See RouteRoad for details of sub-attributes.
This is a convenience method that creates an instance of theRouteRoad.Builder
avoiding the need to create one manually viaRouteRoad.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonextRoad(RouteRoad)
.- Parameters:
nextRoad
- a consumer that will call methods onRouteRoad.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rampStepDetails
Details that are specific to a Ramp step.
- Parameters:
rampStepDetails
- Details that are specific to a Ramp step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rampStepDetails
default RouteVehicleTravelStep.Builder rampStepDetails(Consumer<RouteRampStepDetails.Builder> rampStepDetails) Details that are specific to a Ramp step.
This is a convenience method that creates an instance of theRouteRampStepDetails.Builder
avoiding the need to create one manually viaRouteRampStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torampStepDetails(RouteRampStepDetails)
.- Parameters:
rampStepDetails
- a consumer that will call methods onRouteRampStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roundaboutEnterStepDetails
RouteVehicleTravelStep.Builder roundaboutEnterStepDetails(RouteRoundaboutEnterStepDetails roundaboutEnterStepDetails) Details that are specific to a Roundabout Enter step.
- Parameters:
roundaboutEnterStepDetails
- Details that are specific to a Roundabout Enter step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roundaboutEnterStepDetails
default RouteVehicleTravelStep.Builder roundaboutEnterStepDetails(Consumer<RouteRoundaboutEnterStepDetails.Builder> roundaboutEnterStepDetails) Details that are specific to a Roundabout Enter step.
This is a convenience method that creates an instance of theRouteRoundaboutEnterStepDetails.Builder
avoiding the need to create one manually viaRouteRoundaboutEnterStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroundaboutEnterStepDetails(RouteRoundaboutEnterStepDetails)
.- Parameters:
roundaboutEnterStepDetails
- a consumer that will call methods onRouteRoundaboutEnterStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roundaboutExitStepDetails
RouteVehicleTravelStep.Builder roundaboutExitStepDetails(RouteRoundaboutExitStepDetails roundaboutExitStepDetails) Details that are specific to a Roundabout Exit step.
- Parameters:
roundaboutExitStepDetails
- Details that are specific to a Roundabout Exit step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roundaboutExitStepDetails
default RouteVehicleTravelStep.Builder roundaboutExitStepDetails(Consumer<RouteRoundaboutExitStepDetails.Builder> roundaboutExitStepDetails) Details that are specific to a Roundabout Exit step.
This is a convenience method that creates an instance of theRouteRoundaboutExitStepDetails.Builder
avoiding the need to create one manually viaRouteRoundaboutExitStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroundaboutExitStepDetails(RouteRoundaboutExitStepDetails)
.- Parameters:
roundaboutExitStepDetails
- a consumer that will call methods onRouteRoundaboutExitStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roundaboutPassStepDetails
RouteVehicleTravelStep.Builder roundaboutPassStepDetails(RouteRoundaboutPassStepDetails roundaboutPassStepDetails) Details that are specific to a Roundabout Pass step.
- Parameters:
roundaboutPassStepDetails
- Details that are specific to a Roundabout Pass step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roundaboutPassStepDetails
default RouteVehicleTravelStep.Builder roundaboutPassStepDetails(Consumer<RouteRoundaboutPassStepDetails.Builder> roundaboutPassStepDetails) Details that are specific to a Roundabout Pass step.
This is a convenience method that creates an instance of theRouteRoundaboutPassStepDetails.Builder
avoiding the need to create one manually viaRouteRoundaboutPassStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroundaboutPassStepDetails(RouteRoundaboutPassStepDetails)
.- Parameters:
roundaboutPassStepDetails
- a consumer that will call methods onRouteRoundaboutPassStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signpost
Sign post information of the action, applicable only for TurnByTurn steps. See RouteSignpost for details of sub-attributes.
- Parameters:
signpost
- Sign post information of the action, applicable only for TurnByTurn steps. See RouteSignpost for details of sub-attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signpost
Sign post information of the action, applicable only for TurnByTurn steps. See RouteSignpost for details of sub-attributes.
This is a convenience method that creates an instance of theRouteSignpost.Builder
avoiding the need to create one manually viaRouteSignpost.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosignpost(RouteSignpost)
.- Parameters:
signpost
- a consumer that will call methods onRouteSignpost.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
turnStepDetails
Details that are specific to a Turn step.
- Parameters:
turnStepDetails
- Details that are specific to a Turn step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
turnStepDetails
default RouteVehicleTravelStep.Builder turnStepDetails(Consumer<RouteTurnStepDetails.Builder> turnStepDetails) Details that are specific to a Turn step.
This is a convenience method that creates an instance of theRouteTurnStepDetails.Builder
avoiding the need to create one manually viaRouteTurnStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toturnStepDetails(RouteTurnStepDetails)
.- Parameters:
turnStepDetails
- a consumer that will call methods onRouteTurnStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of the step.
- Parameters:
type
- Type of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of the step.
- Parameters:
type
- Type of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uTurnStepDetails
Details that are specific to a Turn step.
- Parameters:
uTurnStepDetails
- Details that are specific to a Turn step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uTurnStepDetails
default RouteVehicleTravelStep.Builder uTurnStepDetails(Consumer<RouteUTurnStepDetails.Builder> uTurnStepDetails) Details that are specific to a Turn step.
This is a convenience method that creates an instance of theRouteUTurnStepDetails.Builder
avoiding the need to create one manually viaRouteUTurnStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touTurnStepDetails(RouteUTurnStepDetails)
.- Parameters:
uTurnStepDetails
- a consumer that will call methods onRouteUTurnStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-