Interface RouteTransitTransportModeDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTransitTransportModeDetails.Builder,,RouteTransitTransportModeDetails> SdkBuilder<RouteTransitTransportModeDetails.Builder,,RouteTransitTransportModeDetails> SdkPojo
- Enclosing class:
RouteTransitTransportModeDetails
@Mutable
@NotThreadSafe
public static interface RouteTransitTransportModeDetails.Builder
extends SdkPojo, CopyableBuilder<RouteTransitTransportModeDetails.Builder,RouteTransitTransportModeDetails>
-
Method Summary
Modifier and TypeMethodDescriptionaccessibility(Consumer<RouteAccessibilityAvailabilityDetails.Builder> accessibility) Wheelchair accessibility information for the transit vehicle.accessibility(RouteAccessibilityAvailabilityDetails accessibility) Wheelchair accessibility information for the transit vehicle.Color of the transport polyline and background for the transport name.Transit route headsign.longRouteName(String longRouteName) Long name of the transit route.Mode of the transit transport.mode(RouteTransitMode mode) Mode of the transit transport.Transit route name.shortRouteName(String shortRouteName) Short name of the transit route.Color of the transport name text.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
-
accessibility
RouteTransitTransportModeDetails.Builder accessibility(RouteAccessibilityAvailabilityDetails accessibility) Wheelchair accessibility information for the transit vehicle.
- Parameters:
accessibility- Wheelchair accessibility information for the transit vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessibility
default RouteTransitTransportModeDetails.Builder accessibility(Consumer<RouteAccessibilityAvailabilityDetails.Builder> accessibility) Wheelchair accessibility information for the transit vehicle.
This is a convenience method that creates an instance of theRouteAccessibilityAvailabilityDetails.Builderavoiding the need to create one manually viaRouteAccessibilityAvailabilityDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessibility(RouteAccessibilityAvailabilityDetails).- Parameters:
accessibility- a consumer that will call methods onRouteAccessibilityAvailabilityDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
color
Color of the transport polyline and background for the transport name.
- Parameters:
color- Color of the transport polyline and background for the transport name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headsign
Transit route headsign.
- Parameters:
headsign- Transit route headsign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longRouteName
Long name of the transit route.
- Parameters:
longRouteName- Long name of the transit route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
Mode of the transit transport.
- Parameters:
mode- Mode of the transit transport.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
Mode of the transit transport.
- Parameters:
mode- Mode of the transit transport.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeName
Transit route name.
- Parameters:
routeName- Transit route name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shortRouteName
Short name of the transit route.
- Parameters:
shortRouteName- Short name of the transit route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textColor
Color of the transport name text.
- Parameters:
textColor- Color of the transport name text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-