Class CfnSegment.CoordinatesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnSegment.CoordinatesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegment.CoordinatesProperty>
- Enclosing interface:
CfnSegment.CoordinatesProperty
@Stability(Stable)
public static final class CfnSegment.CoordinatesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegment.CoordinatesProperty>
A builder for
CfnSegment.CoordinatesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnSegment.CoordinatesProperty.getLatitude()
Sets the value ofCfnSegment.CoordinatesProperty.getLongitude()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
latitude
Sets the value ofCfnSegment.CoordinatesProperty.getLatitude()
- Parameters:
latitude
- The latitude coordinate of the location. This parameter is required.- Returns:
this
-
longitude
Sets the value ofCfnSegment.CoordinatesProperty.getLongitude()
- Parameters:
longitude
- The longitude coordinate of the location. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSegment.CoordinatesProperty>
- Returns:
- a new instance of
CfnSegment.CoordinatesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-