@Generated(value="software.amazon.awssdk:codegen") public final class GetGeoLocationRequest extends Route53Request implements ToCopyableBuilder<GetGeoLocationRequest.Builder,GetGeoLocationRequest>
A request for information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetGeoLocationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetGeoLocationRequest.Builder |
builder() |
String |
continentCode()
For geolocation resource record sets, a two-letter abbreviation that identifies a continent.
|
String |
countryCode()
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
|
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 GetGeoLocationRequest.Builder> |
serializableBuilderClass() |
String |
subdivisionCode()
The code for the subdivision, such as a particular state within the United States.
|
GetGeoLocationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String continentCode()
For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Amazon Route 53 supports the following continent codes:
AF: Africa
AN: Antarctica
AS: Asia
EU: Europe
OC: Oceania
NA: North America
SA: South America
AF: Africa
AN: Antarctica
AS: Asia
EU: Europe
OC: Oceania
NA: North America
SA: South America
public final String countryCode()
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
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 GetGeoLocationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetGeoLocationRequest.Builder,GetGeoLocationRequest>toBuilder in class Route53Requestpublic static GetGeoLocationRequest.Builder builder()
public static Class<? extends GetGeoLocationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.