Class GetGeoLocationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.route53.model.Route53Request
-
- software.amazon.awssdk.services.route53.model.GetGeoLocationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetGeoLocationRequest.Builder,GetGeoLocationRequest>
@Generated("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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetGeoLocationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetGeoLocationRequest.Builderbuilder()StringcontinentCode()For geolocation resource record sets, a two-letter abbreviation that identifies a continent.StringcountryCode()Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends GetGeoLocationRequest.Builder>serializableBuilderClass()StringsubdivisionCode()The code for the subdivision, such as a particular state within the United States.GetGeoLocationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
continentCode
public 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
- Returns:
- 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
-
-
-
countryCode
public final String countryCode()
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
Route 53 also supports the contry code UA forr Ukraine.
- Returns:
- Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
Route 53 also supports the contry code UA forr Ukraine.
-
subdivisionCode
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.
- Returns:
- 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.
-
toBuilder
public GetGeoLocationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetGeoLocationRequest.Builder,GetGeoLocationRequest>- Specified by:
toBuilderin classRoute53Request
-
builder
public static GetGeoLocationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetGeoLocationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-