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