@Generated(value="software.amazon.awssdk:codegen") public 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()
Amazon Route 53 supports the following continent codes:
|
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
static Class<? extends GetGeoLocationRequest.Builder> |
serializableBuilderClass() |
String |
subdivisionCode()
Amazon Route 53 uses the one- to three-letter subdivision codes that are specified in ISO standard 3166-1 alpha-2.
|
GetGeoLocationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfigcopypublic String continentCode()
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 String countryCode()
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
public String subdivisionCode()
Amazon Route 53 uses the one- to three-letter subdivision codes that are specified in ISO standard 3166-1 alpha-2. Amazon Route 53 doesn't
support subdivision codes for all countries. If you specify SubdivisionCode, you must also specify
CountryCode.
SubdivisionCode, you
must also specify CountryCode.public GetGeoLocationRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GetGeoLocationRequest.Builder,GetGeoLocationRequest>toBuilder in class Route53Requestpublic static GetGeoLocationRequest.Builder builder()
public static Class<? extends GetGeoLocationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.