@Generated(value="software.amazon.awssdk:codegen") public class GeoLocationDetails extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends GeoLocationDetails.Builder> |
serializableBuilderClass() |
String |
subdivisionCode()
The code for the subdivision, for example, a state in the United States or a province in Canada.
|
String |
subdivisionName()
The full name of the subdivision, for example, a state in the United States or a province in Canada.
|
GeoLocationDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String continentCode()
The two-letter code for the continent.
public String continentName()
The full name of the continent.
public String countryCode()
The two-letter code for the country.
public String countryName()
The name of the country.
public String subdivisionCode()
The code for the subdivision, for example, a state in the United States or a province in Canada.
public String subdivisionName()
The full name of the subdivision, for example, a state in the United States or a province in Canada.
public GeoLocationDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GeoLocationDetails.Builder,GeoLocationDetails>
public static GeoLocationDetails.Builder builder()
public static Class<? extends GeoLocationDetails.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.