public static final class CfnRecordSet.GeoLocationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRecordSet.GeoLocationProperty
CfnRecordSet.GeoLocationProperty
CfnRecordSet.GeoLocationProperty.Builder, CfnRecordSet.GeoLocationProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getContinentCode()
For geolocation resource record sets, a two-letter abbreviation that identifies a continent.
|
java.lang.String |
getCountryCode()
For geolocation resource record sets, the two-letter code for a country.
|
java.lang.String |
getSubdivisionCode()
For geolocation resource record sets, the two-letter code for a state of the United States.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getContinentCode()
CfnRecordSet.GeoLocationProperty
Constraint: Specifying ContinentCode
with either CountryCode
or SubdivisionCode
returns an InvalidInput
error.
getContinentCode
in interface CfnRecordSet.GeoLocationProperty
public final java.lang.String getCountryCode()
CfnRecordSet.GeoLocationProperty
Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2 .
getCountryCode
in interface CfnRecordSet.GeoLocationProperty
public final java.lang.String getSubdivisionCode()
CfnRecordSet.GeoLocationProperty
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
.
getSubdivisionCode
in interface CfnRecordSet.GeoLocationProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()