Interface GPSPointDimension.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GPSPointDimension.Builder,
,GPSPointDimension> SdkBuilder<GPSPointDimension.Builder,
,GPSPointDimension> SdkPojo
- Enclosing class:
GPSPointDimension
@Mutable
@NotThreadSafe
public static interface GPSPointDimension.Builder
extends SdkPojo, CopyableBuilder<GPSPointDimension.Builder,GPSPointDimension>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GPSPointDimension.Builder
coordinates
(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
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
-
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.Builder
avoiding the need to create one manually viaGPSCoordinates.builder()
.When the
Consumer
completes,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.
-