Interface RoutePedestrianTravelStep.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutePedestrianTravelStep.Builder,
,RoutePedestrianTravelStep> SdkBuilder<RoutePedestrianTravelStep.Builder,
,RoutePedestrianTravelStep> SdkPojo
- Enclosing class:
RoutePedestrianTravelStep
-
Method Summary
Modifier and TypeMethodDescriptioncontinueStepDetails
(Consumer<RouteContinueStepDetails.Builder> continueStepDetails) Details related to the continue step.continueStepDetails
(RouteContinueStepDetails continueStepDetails) Details related to the continue step.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.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.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.keepStepDetails
(Consumer<RouteKeepStepDetails.Builder> keepStepDetails) Details that are specific to a Keep step.keepStepDetails
(RouteKeepStepDetails keepStepDetails) Details that are specific to a Keep step.nextRoad
(Consumer<RouteRoad.Builder> nextRoad) Details of the next road.Details of the next road.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.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.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.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.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.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
-
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.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. 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
Details of the current 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 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.
-
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:
-
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 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.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:
-
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.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
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.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
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.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 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.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:
-