Interface GPSPointDimension.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GPSPointDimension.Builder,,GPSPointDimension> SdkBuilder<GPSPointDimension.Builder,,GPSPointDimension> SdkPojo
- Enclosing class:
GPSPointDimension
public static interface GPSPointDimension.Builder
extends SdkPojo, CopyableBuilder<GPSPointDimension.Builder,GPSPointDimension>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GPSPointDimension.Buildercoordinates(Consumer<GPSCoordinates.Builder> coordinates) The GPS coordinates to measure distance from.coordinates(GPSCoordinates coordinates) The GPS coordinates to measure distance from.rangeInKilometers(Double rangeInKilometers) The range, in kilometers, from the GPS coordinates.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, sdkFields
-
Method Details
-
coordinates
The GPS coordinates to measure distance from.
- Parameters:
coordinates- The GPS coordinates to measure distance from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coordinates
The GPS coordinates to measure distance from.
This is a convenience method that creates an instance of theGPSCoordinates.Builderavoiding the need to create one manually viaGPSCoordinates.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoordinates(GPSCoordinates).- Parameters:
coordinates- a consumer that will call methods onGPSCoordinates.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rangeInKilometers
The range, in kilometers, from the GPS coordinates.
- Parameters:
rangeInKilometers- The range, in kilometers, from the GPS coordinates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-