Class CfnSegment.GPSPointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnSegment.GPSPointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegment.GPSPointProperty>
- Enclosing interface:
CfnSegment.GPSPointProperty
@Stability(Stable)
public static final class CfnSegment.GPSPointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegment.GPSPointProperty>
A builder for
CfnSegment.GPSPointProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.coordinates
(IResolvable coordinates) Sets the value ofCfnSegment.GPSPointProperty.getCoordinates()
coordinates
(CfnSegment.CoordinatesProperty coordinates) Sets the value ofCfnSegment.GPSPointProperty.getCoordinates()
rangeInKilometers
(Number rangeInKilometers) Sets the value ofCfnSegment.GPSPointProperty.getRangeInKilometers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coordinates
Sets the value ofCfnSegment.GPSPointProperty.getCoordinates()
- Parameters:
coordinates
- The GPS coordinates to measure distance from. This parameter is required.- Returns:
this
-
coordinates
@Stability(Stable) public CfnSegment.GPSPointProperty.Builder coordinates(CfnSegment.CoordinatesProperty coordinates) Sets the value ofCfnSegment.GPSPointProperty.getCoordinates()
- Parameters:
coordinates
- The GPS coordinates to measure distance from. This parameter is required.- Returns:
this
-
rangeInKilometers
@Stability(Stable) public CfnSegment.GPSPointProperty.Builder rangeInKilometers(Number rangeInKilometers) Sets the value ofCfnSegment.GPSPointProperty.getRangeInKilometers()
- Parameters:
rangeInKilometers
- The range, in kilometers, from the GPS coordinates. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSegment.GPSPointProperty>
- Returns:
- a new instance of
CfnSegment.GPSPointProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-