Interface RouteFerryTravelStep.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteFerryTravelStep.Builder,RouteFerryTravelStep>,SdkBuilder<RouteFerryTravelStep.Builder,RouteFerryTravelStep>,SdkPojo
- Enclosing class:
- RouteFerryTravelStep
public static interface RouteFerryTravelStep.Builder extends SdkPojo, CopyableBuilder<RouteFerryTravelStep.Builder,RouteFerryTravelStep>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteFerryTravelStep.Builderdistance(Long distance)Distance of the step.RouteFerryTravelStep.Builderduration(Long duration)Duration of the step.RouteFerryTravelStep.BuildergeometryOffset(Integer geometryOffset)Offset in the leg geometry corresponding to the start of this step.RouteFerryTravelStep.Builderinstruction(String instruction)Brief description of the step in the requested language.RouteFerryTravelStep.Buildertype(String type)Type of the step.RouteFerryTravelStep.Buildertype(RouteFerryTravelStepType type)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 Detail
-
distance
RouteFerryTravelStep.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
RouteFerryTravelStep.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.
-
geometryOffset
RouteFerryTravelStep.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
RouteFerryTravelStep.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.
-
type
RouteFerryTravelStep.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:
RouteFerryTravelStepType,RouteFerryTravelStepType
-
type
RouteFerryTravelStep.Builder type(RouteFerryTravelStepType 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:
RouteFerryTravelStepType,RouteFerryTravelStepType
-
-