Interface RouteFerryTravelStep.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteFerryTravelStep.Builder,
,RouteFerryTravelStep> SdkBuilder<RouteFerryTravelStep.Builder,
,RouteFerryTravelStep> SdkPojo
- Enclosing class:
RouteFerryTravelStep
@Mutable
@NotThreadSafe
public static interface RouteFerryTravelStep.Builder
extends SdkPojo, CopyableBuilder<RouteFerryTravelStep.Builder,RouteFerryTravelStep>
-
Method Summary
Modifier and TypeMethodDescriptionDistance of the step.Duration of the step.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.Type of the step.type
(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 Details
-
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.
-
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.
-
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:
-