@Generated(value="software.amazon.awssdk:codegen") public final class GeoLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GeoLocation.Builder,GeoLocation>
A complex type that contains information about a geographic location.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GeoLocation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GeoLocation.Builder |
builder() |
String |
continentCode()
The two-letter code for the continent.
|
String |
countryCode()
The two-letter code for the country.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GeoLocation.Builder> |
serializableBuilderClass() |
String |
subdivisionCode()
The code for the subdivision.
|
GeoLocation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String continentCode()
The two-letter code for the continent.
Valid values: AF | AN | AS | EU | OC |
NA | SA
Constraint: Specifying ContinentCode with either CountryCode or
SubdivisionCode returns an InvalidInput error.
Valid values: AF | AN | AS | EU | OC |
NA | SA
Constraint: Specifying ContinentCode with either CountryCode or
SubdivisionCode returns an InvalidInput error.
public String countryCode()
The two-letter code for the country.
public String subdivisionCode()
The code for the subdivision. Route 53 currently supports only states in the United States.
public GeoLocation.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GeoLocation.Builder,GeoLocation>public static GeoLocation.Builder builder()
public static Class<? extends GeoLocation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.