@Stability(value=Stable) public static final class CfnRecordSet.GeoLocationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRecordSet.GeoLocationProperty>
CfnRecordSet.GeoLocationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRecordSet.GeoLocationProperty |
build()
Builds the configured instance.
|
CfnRecordSet.GeoLocationProperty.Builder |
continentCode(String continentCode)
Sets the value of
CfnRecordSet.GeoLocationProperty.getContinentCode() |
CfnRecordSet.GeoLocationProperty.Builder |
countryCode(String countryCode)
Sets the value of
CfnRecordSet.GeoLocationProperty.getCountryCode() |
CfnRecordSet.GeoLocationProperty.Builder |
subdivisionCode(String subdivisionCode)
Sets the value of
CfnRecordSet.GeoLocationProperty.getSubdivisionCode() |
@Stability(value=Stable) public CfnRecordSet.GeoLocationProperty.Builder continentCode(String continentCode)
CfnRecordSet.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 CfnRecordSet.GeoLocationProperty.Builder countryCode(String countryCode)
CfnRecordSet.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 CfnRecordSet.GeoLocationProperty.Builder subdivisionCode(String subdivisionCode)
CfnRecordSet.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 CfnRecordSet.GeoLocationProperty build()
build in interface software.amazon.jsii.Builder<CfnRecordSet.GeoLocationProperty>CfnRecordSet.GeoLocationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.