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