Class CfnRecordSetGroup.CoordinatesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnRecordSetGroup.CoordinatesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecordSetGroup.CoordinatesProperty>
- Enclosing interface:
CfnRecordSetGroup.CoordinatesProperty
@Stability(Stable)
public static final class CfnRecordSetGroup.CoordinatesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecordSetGroup.CoordinatesProperty>
A builder for
CfnRecordSetGroup.CoordinatesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRecordSetGroup.CoordinatesProperty.getLatitude()
Sets the value ofCfnRecordSetGroup.CoordinatesProperty.getLongitude()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
latitude
Sets the value ofCfnRecordSetGroup.CoordinatesProperty.getLatitude()
- Parameters:
latitude
- Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90). This parameter is required.- Returns:
this
-
longitude
Sets the value ofCfnRecordSetGroup.CoordinatesProperty.getLongitude()
- Parameters:
longitude
- Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180). This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRecordSetGroup.CoordinatesProperty>
- Returns:
- a new instance of
CfnRecordSetGroup.CoordinatesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-