Interface RouteRentalTravelStep.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteRentalTravelStep.Builder,,RouteRentalTravelStep> SdkBuilder<RouteRentalTravelStep.Builder,,RouteRentalTravelStep> SdkPojo
- Enclosing class:
RouteRentalTravelStep
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteRentalTravelStep.BuildercontinueStepDetails(Consumer<RouteContinueStepDetails.Builder> continueStepDetails) Sets the value of the ContinueStepDetails property for this object.continueStepDetails(RouteContinueStepDetails continueStepDetails) Sets the value of the ContinueStepDetails property for this object.Distance of the step.Duration of the step.default RouteRentalTravelStep.BuilderexitStepDetails(Consumer<RouteExitStepDetails.Builder> exitStepDetails) Sets the value of the ExitStepDetails property for this object.exitStepDetails(RouteExitStepDetails exitStepDetails) Sets the value of the ExitStepDetails property for this object.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 RouteRentalTravelStep.BuilderkeepStepDetails(Consumer<RouteKeepStepDetails.Builder> keepStepDetails) Sets the value of the KeepStepDetails property for this object.keepStepDetails(RouteKeepStepDetails keepStepDetails) Sets the value of the KeepStepDetails property for this object.default RouteRentalTravelStep.BuilderrampStepDetails(Consumer<RouteRampStepDetails.Builder> rampStepDetails) Sets the value of the RampStepDetails property for this object.rampStepDetails(RouteRampStepDetails rampStepDetails) Sets the value of the RampStepDetails property for this object.default RouteRentalTravelStep.BuilderroundaboutEnterStepDetails(Consumer<RouteRoundaboutEnterStepDetails.Builder> roundaboutEnterStepDetails) Sets the value of the RoundaboutEnterStepDetails property for this object.roundaboutEnterStepDetails(RouteRoundaboutEnterStepDetails roundaboutEnterStepDetails) Sets the value of the RoundaboutEnterStepDetails property for this object.default RouteRentalTravelStep.BuilderroundaboutExitStepDetails(Consumer<RouteRoundaboutExitStepDetails.Builder> roundaboutExitStepDetails) Sets the value of the RoundaboutExitStepDetails property for this object.roundaboutExitStepDetails(RouteRoundaboutExitStepDetails roundaboutExitStepDetails) Sets the value of the RoundaboutExitStepDetails property for this object.default RouteRentalTravelStep.BuilderroundaboutPassStepDetails(Consumer<RouteRoundaboutPassStepDetails.Builder> roundaboutPassStepDetails) Sets the value of the RoundaboutPassStepDetails property for this object.roundaboutPassStepDetails(RouteRoundaboutPassStepDetails roundaboutPassStepDetails) Sets the value of the RoundaboutPassStepDetails property for this object.default RouteRentalTravelStep.BuilderturnStepDetails(Consumer<RouteTurnStepDetails.Builder> turnStepDetails) Sets the value of the TurnStepDetails property for this object.turnStepDetails(RouteTurnStepDetails turnStepDetails) Sets the value of the TurnStepDetails property for this object.Type of the step.Type of the step.default RouteRentalTravelStep.BuilderuTurnStepDetails(Consumer<RouteUTurnStepDetails.Builder> uTurnStepDetails) Sets the value of the UTurnStepDetails property for this object.uTurnStepDetails(RouteUTurnStepDetails uTurnStepDetails) Sets the value of the UTurnStepDetails property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
continueStepDetails
Sets the value of the ContinueStepDetails property for this object.- Parameters:
continueStepDetails- The new value for the ContinueStepDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
continueStepDetails
default RouteRentalTravelStep.Builder continueStepDetails(Consumer<RouteContinueStepDetails.Builder> continueStepDetails) Sets the value of the ContinueStepDetails property for this object. 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:
-
distance
Distance of the step.
Unit:
meters- Parameters:
distance- Distance of the step.Unit:
meters- 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.
-
exitStepDetails
Sets the value of the ExitStepDetails property for this object.- Parameters:
exitStepDetails- The new value for the ExitStepDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exitStepDetails
default RouteRentalTravelStep.Builder exitStepDetails(Consumer<RouteExitStepDetails.Builder> exitStepDetails) Sets the value of the ExitStepDetails property for this object. 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:
-
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.
- Parameters:
instruction- Brief description of the step in the requested language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keepStepDetails
Sets the value of the KeepStepDetails property for this object.- Parameters:
keepStepDetails- The new value for the KeepStepDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keepStepDetails
default RouteRentalTravelStep.Builder keepStepDetails(Consumer<RouteKeepStepDetails.Builder> keepStepDetails) Sets the value of the KeepStepDetails property for this object. 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:
-
rampStepDetails
Sets the value of the RampStepDetails property for this object.- Parameters:
rampStepDetails- The new value for the RampStepDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rampStepDetails
default RouteRentalTravelStep.Builder rampStepDetails(Consumer<RouteRampStepDetails.Builder> rampStepDetails) Sets the value of the RampStepDetails property for this object. 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:
-
roundaboutEnterStepDetails
RouteRentalTravelStep.Builder roundaboutEnterStepDetails(RouteRoundaboutEnterStepDetails roundaboutEnterStepDetails) Sets the value of the RoundaboutEnterStepDetails property for this object.- Parameters:
roundaboutEnterStepDetails- The new value for the RoundaboutEnterStepDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roundaboutEnterStepDetails
default RouteRentalTravelStep.Builder roundaboutEnterStepDetails(Consumer<RouteRoundaboutEnterStepDetails.Builder> roundaboutEnterStepDetails) Sets the value of the RoundaboutEnterStepDetails property for this object. 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:
-
roundaboutExitStepDetails
RouteRentalTravelStep.Builder roundaboutExitStepDetails(RouteRoundaboutExitStepDetails roundaboutExitStepDetails) Sets the value of the RoundaboutExitStepDetails property for this object.- Parameters:
roundaboutExitStepDetails- The new value for the RoundaboutExitStepDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roundaboutExitStepDetails
default RouteRentalTravelStep.Builder roundaboutExitStepDetails(Consumer<RouteRoundaboutExitStepDetails.Builder> roundaboutExitStepDetails) Sets the value of the RoundaboutExitStepDetails property for this object. 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:
-
roundaboutPassStepDetails
RouteRentalTravelStep.Builder roundaboutPassStepDetails(RouteRoundaboutPassStepDetails roundaboutPassStepDetails) Sets the value of the RoundaboutPassStepDetails property for this object.- Parameters:
roundaboutPassStepDetails- The new value for the RoundaboutPassStepDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roundaboutPassStepDetails
default RouteRentalTravelStep.Builder roundaboutPassStepDetails(Consumer<RouteRoundaboutPassStepDetails.Builder> roundaboutPassStepDetails) Sets the value of the RoundaboutPassStepDetails property for this object. 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:
-
turnStepDetails
Sets the value of the TurnStepDetails property for this object.- Parameters:
turnStepDetails- The new value for the TurnStepDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
turnStepDetails
default RouteRentalTravelStep.Builder turnStepDetails(Consumer<RouteTurnStepDetails.Builder> turnStepDetails) Sets the value of the TurnStepDetails property for this object. 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:
-
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
Sets the value of the UTurnStepDetails property for this object.- Parameters:
uTurnStepDetails- The new value for the UTurnStepDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uTurnStepDetails
default RouteRentalTravelStep.Builder uTurnStepDetails(Consumer<RouteUTurnStepDetails.Builder> uTurnStepDetails) Sets the value of the UTurnStepDetails property for this object. 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:
-