Interface RouteIntermodalRentalOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteIntermodalRentalOptions.Builder,,RouteIntermodalRentalOptions> SdkBuilder<RouteIntermodalRentalOptions.Builder,,RouteIntermodalRentalOptions> SdkPojo
- Enclosing class:
RouteIntermodalRentalOptions
-
Method Summary
Modifier and TypeMethodDescriptionallowedModes(Collection<RouteRentalMode> allowedModes) Allowed rental transport modes when calculating the route.allowedModes(RouteRentalMode... allowedModes) Allowed rental transport modes when calculating the route.allowedModesWithStrings(String... allowedModes) Allowed rental transport modes when calculating the route.allowedModesWithStrings(Collection<String> allowedModes) Allowed rental 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<RouteRentalMode> excludedModes) Excluded rental transport modes when calculating the route.excludedModes(RouteRentalMode... excludedModes) Excluded rental transport modes when calculating the route.excludedModesWithStrings(String... excludedModes) Excluded rental transport modes when calculating the route.excludedModesWithStrings(Collection<String> excludedModes) Excluded rental 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 rental transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
ExcludedModes.- Parameters:
allowedModes- Allowed rental 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 rental transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
ExcludedModes.- Parameters:
allowedModes- Allowed rental 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 rental transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
ExcludedModes.- Parameters:
allowedModes- Allowed rental 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 rental transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
ExcludedModes.- Parameters:
allowedModes- Allowed rental 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 rental transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
AllowedModes.- Parameters:
excludedModes- Excluded rental 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 rental transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
AllowedModes.- Parameters:
excludedModes- Excluded rental 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 rental transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
AllowedModes.- Parameters:
excludedModes- Excluded rental 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 rental transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with
AllowedModes.- Parameters:
excludedModes- Excluded rental 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.
-