Interface RouteTransitPlace.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTransitPlace.Builder,,RouteTransitPlace> SdkBuilder<RouteTransitPlace.Builder,,RouteTransitPlace> SdkPojo
- Enclosing class:
RouteTransitPlace
@Mutable
@NotThreadSafe
public static interface RouteTransitPlace.Builder
extends SdkPojo, CopyableBuilder<RouteTransitPlace.Builder,RouteTransitPlace>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the place.originalPosition(Double... originalPosition) Position provided in the request.originalPosition(Collection<Double> originalPosition) Position provided in the request.Position in World Geodetic System (WGS 84) format: [longitude, latitude].position(Collection<Double> position) Position in World Geodetic System (WGS 84) format: [longitude, latitude].default RouteTransitPlace.BuilderstationDetails(Consumer<RouteStationDetails.Builder> stationDetails) Details about the station.stationDetails(RouteStationDetails stationDetails) Details about the station.The type of the place.type(RouteTransitPlaceType type) The type of the place.waypointIndex(Integer waypointIndex) Index of the waypoint in the request.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
-
name
The name of the place.
- Parameters:
name- The name of the place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originalPosition
Position provided in the request.
- Parameters:
originalPosition- Position provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originalPosition
Position provided in the request.
- Parameters:
originalPosition- Position provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
Position in World Geodetic System (WGS 84) format: [longitude, latitude].
- Parameters:
position- Position in World Geodetic System (WGS 84) format: [longitude, latitude].- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
Position in World Geodetic System (WGS 84) format: [longitude, latitude].
- Parameters:
position- Position in World Geodetic System (WGS 84) format: [longitude, latitude].- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stationDetails
Details about the station.
- Parameters:
stationDetails- Details about the station.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stationDetails
default RouteTransitPlace.Builder stationDetails(Consumer<RouteStationDetails.Builder> stationDetails) Details about the station.
This is a convenience method that creates an instance of theRouteStationDetails.Builderavoiding the need to create one manually viaRouteStationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostationDetails(RouteStationDetails).- Parameters:
stationDetails- a consumer that will call methods onRouteStationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the place.
- Parameters:
type- The type of the place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the place.
- Parameters:
type- The type of the place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
waypointIndex
Index of the waypoint in the request.
- Parameters:
waypointIndex- Index of the waypoint in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-