Interface RouteIntermodalVehicleOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteIntermodalVehicleOptions.Builder,,RouteIntermodalVehicleOptions> SdkBuilder<RouteIntermodalVehicleOptions.Builder,,RouteIntermodalVehicleOptions> SdkPojo
- Enclosing class:
RouteIntermodalVehicleOptions
-
Method Summary
Modifier and TypeMethodDescriptionallowedModes(Collection<RouteVehicleMode> allowedModes) Allowed vehicle transport modes when calculating the route.allowedModes(RouteVehicleMode... allowedModes) Allowed vehicle transport modes when calculating the route.allowedModesWithStrings(String... allowedModes) Allowed vehicle transport modes when calculating the route.allowedModesWithStrings(Collection<String> allowedModes) Allowed vehicle transport modes when calculating the route.enabledFor(Collection<RouteIntermodalEnabledLegs> enabledFor) Specifies the portion of the route for which this leg type is enabled.enabledFor(RouteIntermodalEnabledLegs... enabledFor) Specifies the portion of the route for which this leg type is enabled.enabledForWithStrings(String... enabledFor) Specifies the portion of the route for which this leg type is enabled.enabledForWithStrings(Collection<String> enabledFor) Specifies the portion of the route for which this leg type is enabled.excludedModes(Collection<RouteVehicleMode> excludedModes) Excluded vehicle transport modes when calculating the route.excludedModes(RouteVehicleMode... excludedModes) Excluded vehicle transport modes when calculating the route.excludedModesWithStrings(String... excludedModes) Excluded vehicle transport modes when calculating the route.excludedModesWithStrings(Collection<String> excludedModes) Excluded vehicle transport modes when calculating the route.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
-
allowedModesWithStrings
Allowed vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
ExcludedModes.- Parameters:
allowedModes- Allowed vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together withExcludedModes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedModesWithStrings
Allowed vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
ExcludedModes.- Parameters:
allowedModes- Allowed vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together withExcludedModes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedModes
Allowed vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
ExcludedModes.- Parameters:
allowedModes- Allowed vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together withExcludedModes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedModes
Allowed vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
ExcludedModes.- Parameters:
allowedModes- Allowed vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together withExcludedModes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledForWithStrings
Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:
-
FirstLeg- Enable this leg type for the first non-pedestrian leg of the route. -
LastLeg- Enable this leg type for the last non-pedestrian leg of the route. -
EntireRoute- Enable this leg type for the entire route. -
None- Disable this leg type entirely.
- Parameters:
enabledFor- Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:-
FirstLeg- Enable this leg type for the first non-pedestrian leg of the route. -
LastLeg- Enable this leg type for the last non-pedestrian leg of the route. -
EntireRoute- Enable this leg type for the entire route. -
None- Disable this leg type entirely.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
enabledForWithStrings
Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:
-
FirstLeg- Enable this leg type for the first non-pedestrian leg of the route. -
LastLeg- Enable this leg type for the last non-pedestrian leg of the route. -
EntireRoute- Enable this leg type for the entire route. -
None- Disable this leg type entirely.
- Parameters:
enabledFor- Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:-
FirstLeg- Enable this leg type for the first non-pedestrian leg of the route. -
LastLeg- Enable this leg type for the last non-pedestrian leg of the route. -
EntireRoute- Enable this leg type for the entire route. -
None- Disable this leg type entirely.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
enabledFor
Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:
-
FirstLeg- Enable this leg type for the first non-pedestrian leg of the route. -
LastLeg- Enable this leg type for the last non-pedestrian leg of the route. -
EntireRoute- Enable this leg type for the entire route. -
None- Disable this leg type entirely.
- Parameters:
enabledFor- Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:-
FirstLeg- Enable this leg type for the first non-pedestrian leg of the route. -
LastLeg- Enable this leg type for the last non-pedestrian leg of the route. -
EntireRoute- Enable this leg type for the entire route. -
None- Disable this leg type entirely.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
enabledFor
Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:
-
FirstLeg- Enable this leg type for the first non-pedestrian leg of the route. -
LastLeg- Enable this leg type for the last non-pedestrian leg of the route. -
EntireRoute- Enable this leg type for the entire route. -
None- Disable this leg type entirely.
- Parameters:
enabledFor- Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:-
FirstLeg- Enable this leg type for the first non-pedestrian leg of the route. -
LastLeg- Enable this leg type for the last non-pedestrian leg of the route. -
EntireRoute- Enable this leg type for the entire route. -
None- Disable this leg type entirely.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
excludedModesWithStrings
Excluded vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
AllowedModes.- Parameters:
excludedModes- Excluded vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together withAllowedModes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedModesWithStrings
Excluded vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
AllowedModes.- Parameters:
excludedModes- Excluded vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together withAllowedModes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedModes
Excluded vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
AllowedModes.- Parameters:
excludedModes- Excluded vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together withAllowedModes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedModes
Excluded vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
AllowedModes.- Parameters:
excludedModes- Excluded vehicle transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together withAllowedModes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-