@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetGeoLocationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request for information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets.
NOOP
Constructor and Description |
---|
GetGeoLocationRequest() |
Modifier and Type | Method and Description |
---|---|
GetGeoLocationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContinentCode()
For geolocation resource record sets, a two-letter abbreviation that identifies a continent.
|
String |
getCountryCode()
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
|
String |
getSubdivisionCode()
The code for the subdivision, such as a particular state within the United States.
|
int |
hashCode() |
void |
setContinentCode(String continentCode)
For geolocation resource record sets, a two-letter abbreviation that identifies a continent.
|
void |
setCountryCode(String countryCode)
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
|
void |
setSubdivisionCode(String subdivisionCode)
The code for the subdivision, such as a particular state within the United States.
|
String |
toString()
Returns a string representation of this object.
|
GetGeoLocationRequest |
withContinentCode(String continentCode)
For geolocation resource record sets, a two-letter abbreviation that identifies a continent.
|
GetGeoLocationRequest |
withCountryCode(String countryCode)
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
|
GetGeoLocationRequest |
withSubdivisionCode(String subdivisionCode)
The code for the subdivision, such as a particular state within the United States.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setContinentCode(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
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
public String getContinentCode()
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 GetGeoLocationRequest withContinentCode(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
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
public void setCountryCode(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 country code UA for Ukraine.
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 country code UA for Ukraine.
public String getCountryCode()
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
Route 53 also supports the country code UA for Ukraine.
Route 53 also supports the country code UA for Ukraine.
public GetGeoLocationRequest withCountryCode(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 country code UA for Ukraine.
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 country code UA for Ukraine.
public void setSubdivisionCode(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.
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 String getSubdivisionCode()
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 withSubdivisionCode(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.
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 String toString()
toString
in class Object
Object.toString()
public GetGeoLocationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()