public static final class CfnSegment.GPSPointProperty.Builder
extends java.lang.Object
CfnSegment.GPSPointProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSegment.GPSPointProperty |
build()
Builds the configured instance.
|
CfnSegment.GPSPointProperty.Builder |
coordinates(CfnSegment.CoordinatesProperty coordinates)
Sets the value of
CfnSegment.GPSPointProperty.getCoordinates() |
CfnSegment.GPSPointProperty.Builder |
coordinates(IResolvable coordinates)
Sets the value of
CfnSegment.GPSPointProperty.getCoordinates() |
CfnSegment.GPSPointProperty.Builder |
rangeInKilometers(java.lang.Number rangeInKilometers)
Sets the value of
CfnSegment.GPSPointProperty.getRangeInKilometers() |
public CfnSegment.GPSPointProperty.Builder coordinates(IResolvable coordinates)
CfnSegment.GPSPointProperty.getCoordinates()
coordinates
- The GPS coordinates to measure distance from. This parameter is required.this
public CfnSegment.GPSPointProperty.Builder coordinates(CfnSegment.CoordinatesProperty coordinates)
CfnSegment.GPSPointProperty.getCoordinates()
coordinates
- The GPS coordinates to measure distance from. This parameter is required.this
public CfnSegment.GPSPointProperty.Builder rangeInKilometers(java.lang.Number rangeInKilometers)
CfnSegment.GPSPointProperty.getRangeInKilometers()
rangeInKilometers
- The range, in kilometers, from the GPS coordinates. This parameter is required.this
public CfnSegment.GPSPointProperty build()
CfnSegment.GPSPointProperty
java.lang.NullPointerException
- if any required attribute was not provided