Interface RoutePedestrianTravelStep.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RoutePedestrianTravelStep.Builder,RoutePedestrianTravelStep>,SdkBuilder<RoutePedestrianTravelStep.Builder,RoutePedestrianTravelStep>,SdkPojo
- Enclosing class:
- RoutePedestrianTravelStep
public static interface RoutePedestrianTravelStep.Builder extends SdkPojo, CopyableBuilder<RoutePedestrianTravelStep.Builder,RoutePedestrianTravelStep>
-
-
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
-
continueStepDetails
RoutePedestrianTravelStep.Builder continueStepDetails(RouteContinueStepDetails continueStepDetails)
Details related to the continue step.
- Parameters:
continueStepDetails- Details related to the continue step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
continueStepDetails
default RoutePedestrianTravelStep.Builder continueStepDetails(Consumer<RouteContinueStepDetails.Builder> continueStepDetails)
Details related to the 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
RoutePedestrianTravelStep.Builder currentRoad(RouteRoad currentRoad)
Details of the current road. See RouteRoad for details of sub-attributes.
- Parameters:
currentRoad- Details of the current road. See RouteRoad for details of sub-attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRoad
default RoutePedestrianTravelStep.Builder currentRoad(Consumer<RouteRoad.Builder> currentRoad)
Details of the current 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 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
RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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.
-
exitNumber
RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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)
-
geometryOffset
RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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 RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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 RoutePedestrianTravelStep.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)
-
roundaboutEnterStepDetails
RoutePedestrianTravelStep.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 RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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 RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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 RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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 RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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 RoutePedestrianTravelStep.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
RoutePedestrianTravelStep.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:
RoutePedestrianTravelStepType,RoutePedestrianTravelStepType
-
type
RoutePedestrianTravelStep.Builder type(RoutePedestrianTravelStepType 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:
RoutePedestrianTravelStepType,RoutePedestrianTravelStepType
-
-