@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GeoLocationDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GeoLocationDetails.Builder |
builder() |
String |
continentCode()
The two-letter code for the continent.
|
String |
continentName()
The full name of the continent.
|
String |
countryCode()
The two-letter code for the country.
|
String |
countryName()
The name of the country.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GeoLocationDetails.Builder> |
serializableBuilderClass() |
String |
subdivisionCode()
The code for the subdivision, such as a particular state within the United States.
|
String |
subdivisionName()
The full name of the subdivision.
|
GeoLocationDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String continentCode()
The two-letter code for the continent.
public final String continentName()
The full name of the continent.
public final String countryCode()
The two-letter code for the country.
public final String countryName()
The name of the country.
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.
public final String subdivisionName()
The full name of the subdivision. Route 53 currently supports only states in the United States.
public GeoLocationDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GeoLocationDetails.Builder,GeoLocationDetails>public static GeoLocationDetails.Builder builder()
public static Class<? extends GeoLocationDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.