Interface RouteVehicleTravelStep.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteVehicleTravelStep.Builder,RouteVehicleTravelStep>,SdkBuilder<RouteVehicleTravelStep.Builder,RouteVehicleTravelStep>,SdkPojo
- Enclosing class:
- RouteVehicleTravelStep
public static interface RouteVehicleTravelStep.Builder extends SdkPojo, CopyableBuilder<RouteVehicleTravelStep.Builder,RouteVehicleTravelStep>
-
-
Method Summary
-
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 Detail
-
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.Builderavoiding the need to create one manually viaRouteContinueHighwayStepDetails.builder().When the
Consumercompletes,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:
continueHighwayStepDetails(RouteContinueHighwayStepDetails)
-
continueStepDetails
RouteVehicleTravelStep.Builder continueStepDetails(RouteContinueStepDetails 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.Builderavoiding the need to create one manually viaRouteContinueStepDetails.builder().When the
Consumercompletes,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:
continueStepDetails(RouteContinueStepDetails)
-
currentRoad
RouteVehicleTravelStep.Builder currentRoad(RouteRoad 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
default RouteVehicleTravelStep.Builder currentRoad(Consumer<RouteRoad.Builder> currentRoad)
Details of the current road.
This is a convenience method that creates an instance of theRouteRoad.Builderavoiding the need to create one manually viaRouteRoad.builder().When the
Consumercompletes,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:
currentRoad(RouteRoad)
-
distance
RouteVehicleTravelStep.Builder distance(Long 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
RouteVehicleTravelStep.Builder duration(Long 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.Builderavoiding the need to create one manually viaRouteEnterHighwayStepDetails.builder().When the
Consumercompletes,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:
enterHighwayStepDetails(RouteEnterHighwayStepDetails)
-
exitNumber
RouteVehicleTravelStep.Builder exitNumber(Collection<LocalizedString> 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
RouteVehicleTravelStep.Builder exitNumber(LocalizedString... 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
RouteVehicleTravelStep.Builder exitNumber(Consumer<LocalizedString.Builder>... exitNumber)
Exit number of the road exit, if applicable.
This is a convenience method that creates an instance of theLocalizedString.Builderavoiding the need to create one manually viaLocalizedString.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#exitNumber(List.) - 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:
#exitNumber(java.util.Collection)
-
exitStepDetails
RouteVehicleTravelStep.Builder exitStepDetails(RouteExitStepDetails 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.Builderavoiding the need to create one manually viaRouteExitStepDetails.builder().When the
Consumercompletes,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:
exitStepDetails(RouteExitStepDetails)
-
geometryOffset
RouteVehicleTravelStep.Builder geometryOffset(Integer 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
RouteVehicleTravelStep.Builder instruction(String 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
RouteVehicleTravelStep.Builder keepStepDetails(RouteKeepStepDetails 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.Builderavoiding the need to create one manually viaRouteKeepStepDetails.builder().When the
Consumercompletes,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:
keepStepDetails(RouteKeepStepDetails)
-
nextRoad
RouteVehicleTravelStep.Builder nextRoad(RouteRoad 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
default RouteVehicleTravelStep.Builder nextRoad(Consumer<RouteRoad.Builder> nextRoad)
Details of the next road. See RouteRoad for details of sub-attributes.
This is a convenience method that creates an instance of theRouteRoad.Builderavoiding the need to create one manually viaRouteRoad.builder().When the
Consumercompletes,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:
nextRoad(RouteRoad)
-
rampStepDetails
RouteVehicleTravelStep.Builder rampStepDetails(RouteRampStepDetails 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.Builderavoiding the need to create one manually viaRouteRampStepDetails.builder().When the
Consumercompletes,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:
rampStepDetails(RouteRampStepDetails)
-
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.Builderavoiding the need to create one manually viaRouteRoundaboutEnterStepDetails.builder().When the
Consumercompletes,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:
roundaboutEnterStepDetails(RouteRoundaboutEnterStepDetails)
-
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.Builderavoiding the need to create one manually viaRouteRoundaboutExitStepDetails.builder().When the
Consumercompletes,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:
roundaboutExitStepDetails(RouteRoundaboutExitStepDetails)
-
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.Builderavoiding the need to create one manually viaRouteRoundaboutPassStepDetails.builder().When the
Consumercompletes,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:
roundaboutPassStepDetails(RouteRoundaboutPassStepDetails)
-
signpost
RouteVehicleTravelStep.Builder signpost(RouteSignpost 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
default RouteVehicleTravelStep.Builder signpost(Consumer<RouteSignpost.Builder> 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.Builderavoiding the need to create one manually viaRouteSignpost.builder().When the
Consumercompletes,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:
signpost(RouteSignpost)
-
turnStepDetails
RouteVehicleTravelStep.Builder turnStepDetails(RouteTurnStepDetails 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.Builderavoiding the need to create one manually viaRouteTurnStepDetails.builder().When the
Consumercompletes,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:
turnStepDetails(RouteTurnStepDetails)
-
type
RouteVehicleTravelStep.Builder type(String 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:
RouteVehicleTravelStepType,RouteVehicleTravelStepType
-
type
RouteVehicleTravelStep.Builder type(RouteVehicleTravelStepType 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:
RouteVehicleTravelStepType,RouteVehicleTravelStepType
-
uTurnStepDetails
RouteVehicleTravelStep.Builder uTurnStepDetails(RouteUTurnStepDetails 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.Builderavoiding the need to create one manually viaRouteUTurnStepDetails.builder().When the
Consumercompletes,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:
uTurnStepDetails(RouteUTurnStepDetails)
-
-