Interface RouteRoad.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteRoad.Builder,
,RouteRoad> SdkBuilder<RouteRoad.Builder,
,RouteRoad> SdkPojo
- Enclosing class:
RouteRoad
-
Method Summary
Modifier and TypeMethodDescriptionroadName
(Collection<LocalizedString> roadName) Name of the road (localized).roadName
(Consumer<LocalizedString.Builder>... roadName) Name of the road (localized).roadName
(LocalizedString... roadName) Name of the road (localized).routeNumber
(Collection<RouteNumber> routeNumber) Route number of the road.routeNumber
(Consumer<RouteNumber.Builder>... routeNumber) Route number of the road.routeNumber
(RouteNumber... routeNumber) Route number of the road.towards
(Collection<LocalizedString> towards) Names of destinations that can be reached when traveling on the road.towards
(Consumer<LocalizedString.Builder>... towards) Names of destinations that can be reached when traveling on the road.towards
(LocalizedString... towards) Names of destinations that can be reached when traveling on the road.The type of road.type
(RouteRoadType type) The type of road.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
-
roadName
Name of the road (localized).
- Parameters:
roadName
- Name of the road (localized).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roadName
Name of the road (localized).
- Parameters:
roadName
- Name of the road (localized).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roadName
Name of the road (localized).
This is a convenience method that creates an instance of theLocalizedString.Builder
avoiding the need to create one manually viaLocalizedString.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroadName(List<LocalizedString>)
.- Parameters:
roadName
- a consumer that will call methods onLocalizedString.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeNumber
Route number of the road.
- Parameters:
routeNumber
- Route number of the road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeNumber
Route number of the road.
- Parameters:
routeNumber
- Route number of the road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeNumber
Route number of the road.
This is a convenience method that creates an instance of theRouteNumber.Builder
avoiding the need to create one manually viaRouteNumber.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torouteNumber(List<RouteNumber>)
.- Parameters:
routeNumber
- a consumer that will call methods onRouteNumber.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
towards
Names of destinations that can be reached when traveling on the road.
- Parameters:
towards
- Names of destinations that can be reached when traveling on the road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
towards
Names of destinations that can be reached when traveling on the road.
- Parameters:
towards
- Names of destinations that can be reached when traveling on the road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
towards
Names of destinations that can be reached when traveling on the road.
This is a convenience method that creates an instance of theLocalizedString.Builder
avoiding the need to create one manually viaLocalizedString.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totowards(List<LocalizedString>)
.- Parameters:
towards
- a consumer that will call methods onLocalizedString.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of road.
- Parameters:
type
- The type of road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of road.
- Parameters:
type
- The type of road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-