@Stability(value=Stable) public static final class CfnRecordSetGroup.GeoLocationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRecordSetGroup.GeoLocationProperty>
CfnRecordSetGroup.GeoLocationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRecordSetGroup.GeoLocationProperty |
build()
Builds the configured instance.
|
CfnRecordSetGroup.GeoLocationProperty.Builder |
continentCode(String continentCode)
Sets the value of
CfnRecordSetGroup.GeoLocationProperty.getContinentCode() |
CfnRecordSetGroup.GeoLocationProperty.Builder |
countryCode(String countryCode)
Sets the value of
CfnRecordSetGroup.GeoLocationProperty.getCountryCode() |
CfnRecordSetGroup.GeoLocationProperty.Builder |
subdivisionCode(String subdivisionCode)
Sets the value of
CfnRecordSetGroup.GeoLocationProperty.getSubdivisionCode() |
@Stability(value=Stable) public CfnRecordSetGroup.GeoLocationProperty.Builder continentCode(String continentCode)
CfnRecordSetGroup.GeoLocationProperty.getContinentCode()continentCode - For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Route 53 supports the following continent codes:.
Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.
this@Stability(value=Stable) public CfnRecordSetGroup.GeoLocationProperty.Builder countryCode(String countryCode)
CfnRecordSetGroup.GeoLocationProperty.getCountryCode()countryCode - For geolocation resource record sets, the two-letter code for a country.
Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2 .this@Stability(value=Stable) public CfnRecordSetGroup.GeoLocationProperty.Builder subdivisionCode(String subdivisionCode)
CfnRecordSetGroup.GeoLocationProperty.getSubdivisionCode()subdivisionCode - For geolocation resource record sets, the two-letter code for a state of the United States.
Route 53 doesn't support any other values for SubdivisionCode . For a list of state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode , you must also specify US for CountryCode .
this@Stability(value=Stable) public CfnRecordSetGroup.GeoLocationProperty build()
build in interface software.amazon.jsii.Builder<CfnRecordSetGroup.GeoLocationProperty>CfnRecordSetGroup.GeoLocationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.