@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()
For
SubdivisionCode , Amazon Route 53 supports only states of 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)
For
SubdivisionCode , Amazon Route 53 supports only states of 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)
For
SubdivisionCode , Amazon Route 53 supports only states of 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.
countryCode
- Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.public String getCountryCode()
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
public GetGeoLocationRequest withCountryCode(String countryCode)
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
countryCode
- Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.public void setSubdivisionCode(String subdivisionCode)
For SubdivisionCode
, Amazon Route 53 supports only states of the United States. For a list of state
abbreviations, see Appendix B: Two–Letter State and Possession
Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify US
for CountryCode
.
subdivisionCode
- For SubdivisionCode
, Amazon Route 53 supports only states of the United States. For a list of
state abbreviations, see Appendix B: Two–Letter State
and Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify US
for
CountryCode
.
public String getSubdivisionCode()
For SubdivisionCode
, Amazon Route 53 supports only states of the United States. For a list of state
abbreviations, see Appendix B: Two–Letter State and Possession
Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify US
for CountryCode
.
SubdivisionCode
, Amazon Route 53 supports only states of the United States. For a list
of state abbreviations, see Appendix B: Two–Letter
State and Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify US
for
CountryCode
.
public GetGeoLocationRequest withSubdivisionCode(String subdivisionCode)
For SubdivisionCode
, Amazon Route 53 supports only states of the United States. For a list of state
abbreviations, see Appendix B: Two–Letter State and Possession
Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify US
for CountryCode
.
subdivisionCode
- For SubdivisionCode
, Amazon Route 53 supports only states of the United States. For a list of
state abbreviations, see Appendix B: Two–Letter State
and Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify US
for
CountryCode
.
public String toString()
toString
in class Object
Object.toString()
public GetGeoLocationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()