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
geolocationcode.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGeoLocationDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeoLocationDetails.Builderbuilder()StringcontinentCode()The two-letter code for the continent.StringcontinentName()The full name of the continent.StringcountryCode()The two-letter code for the country.StringcountryName()The name of the country.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends GeoLocationDetails.Builder>serializableBuilderClass()StringsubdivisionCode()The code for the subdivision, such as a particular state within the United States.StringsubdivisionName()The full name of the subdivision.GeoLocationDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
continentCode
public final String continentCode()
The two-letter code for the continent.
- Returns:
- The two-letter code for the continent.
-
continentName
public final String continentName()
The full name of the continent.
- Returns:
- The full name of the continent.
-
countryCode
public final String countryCode()
The two-letter code for the country.
- Returns:
- The two-letter code for the country.
-
countryName
public final String countryName()
The name of the country.
- Returns:
- The name of the country.
-
subdivisionCode
public final String 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
public final String 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
public GeoLocationDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GeoLocationDetails.Builder,GeoLocationDetails>
-
builder
public static GeoLocationDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends GeoLocationDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-