Class GeoLocationDetails
java.lang.Object
software.amazon.awssdk.services.route53.model.GeoLocationDetails
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GeoLocationDetails.Builder,GeoLocationDetails>
@Generated("software.amazon.awssdk:codegen")
public final class GeoLocationDetails
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<GeoLocationDetails.Builder,GeoLocationDetails>
A complex type that contains the codes and full continent, country, and subdivision names for the specified
geolocation code.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoLocationDetails.Builderbuilder()final StringThe two-letter code for the continent.final StringThe full name of the continent.final StringThe two-letter code for the country.final StringThe name of the country.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends GeoLocationDetails.Builder>final StringThe code for the subdivision, such as a particular state within the United States.final StringThe full name of the subdivision.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
continentCode
The two-letter code for the continent.
- Returns:
- The two-letter code for the continent.
-
continentName
The full name of the continent.
- Returns:
- The full name of the continent.
-
countryCode
The two-letter code for the country.
- Returns:
- The two-letter code for the country.
-
countryName
The name of the country.
- Returns:
- The name of the country.
-
subdivisionCode
The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website. For a list of all supported subdivision codes, use the ListGeoLocations API.
- Returns:
- The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website. For a list of all supported subdivision codes, use the ListGeoLocations API.
-
subdivisionName
The full name of the subdivision. Route 53 currently supports only states in the United States.
- Returns:
- The full name of the subdivision. Route 53 currently supports only states in the United States.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GeoLocationDetails.Builder,GeoLocationDetails>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-