Interface RouteRentalPlace.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteRentalPlace.Builder,,RouteRentalPlace> SdkBuilder<RouteRentalPlace.Builder,,RouteRentalPlace> SdkPojo
- Enclosing class:
RouteRentalPlace
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteRentalPlace.BuilderaccessPointDetails(Consumer<RouteAccessPointDetails.Builder> accessPointDetails) Details of the access point.accessPointDetails(RouteAccessPointDetails accessPointDetails) Details of the access point.The 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 RouteRentalPlace.BuilderstationDetails(Consumer<RouteStationDetails.Builder> stationDetails) Details about the station.stationDetails(RouteStationDetails stationDetails) Details about the station.The type of the place.type(RouteRentalPlaceType 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
-
accessPointDetails
Details of the access point.
- Parameters:
accessPointDetails- Details of the access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPointDetails
default RouteRentalPlace.Builder accessPointDetails(Consumer<RouteAccessPointDetails.Builder> accessPointDetails) Details of the access point.
This is a convenience method that creates an instance of theRouteAccessPointDetails.Builderavoiding the need to create one manually viaRouteAccessPointDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessPointDetails(RouteAccessPointDetails).- Parameters:
accessPointDetails- a consumer that will call methods onRouteAccessPointDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 RouteRentalPlace.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.
-