@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeoLocationDetails extends Object implements Serializable, Cloneable
A complex type that contains the codes and full continent, country, and subdivision names for the specified
geolocation
code.
Constructor and Description |
---|
GeoLocationDetails() |
Modifier and Type | Method and Description |
---|---|
GeoLocationDetails |
clone() |
boolean |
equals(Object obj) |
String |
getContinentCode()
The two-letter code for the continent.
|
String |
getContinentName()
The full name of the continent.
|
String |
getCountryCode()
The two-letter code for the country.
|
String |
getCountryName()
The name of the country.
|
String |
getSubdivisionCode()
The code for the subdivision.
|
String |
getSubdivisionName()
The full name of the subdivision.
|
int |
hashCode() |
void |
setContinentCode(String continentCode)
The two-letter code for the continent.
|
void |
setContinentName(String continentName)
The full name of the continent.
|
void |
setCountryCode(String countryCode)
The two-letter code for the country.
|
void |
setCountryName(String countryName)
The name of the country.
|
void |
setSubdivisionCode(String subdivisionCode)
The code for the subdivision.
|
void |
setSubdivisionName(String subdivisionName)
The full name of the subdivision.
|
String |
toString()
Returns a string representation of this object.
|
GeoLocationDetails |
withContinentCode(String continentCode)
The two-letter code for the continent.
|
GeoLocationDetails |
withContinentName(String continentName)
The full name of the continent.
|
GeoLocationDetails |
withCountryCode(String countryCode)
The two-letter code for the country.
|
GeoLocationDetails |
withCountryName(String countryName)
The name of the country.
|
GeoLocationDetails |
withSubdivisionCode(String subdivisionCode)
The code for the subdivision.
|
GeoLocationDetails |
withSubdivisionName(String subdivisionName)
The full name of the subdivision.
|
public void setContinentCode(String continentCode)
The two-letter code for the continent.
continentCode
- The two-letter code for the continent.public String getContinentCode()
The two-letter code for the continent.
public GeoLocationDetails withContinentCode(String continentCode)
The two-letter code for the continent.
continentCode
- The two-letter code for the continent.public void setContinentName(String continentName)
The full name of the continent.
continentName
- The full name of the continent.public String getContinentName()
The full name of the continent.
public GeoLocationDetails withContinentName(String continentName)
The full name of the continent.
continentName
- The full name of the continent.public void setCountryCode(String countryCode)
The two-letter code for the country.
countryCode
- The two-letter code for the country.public String getCountryCode()
The two-letter code for the country.
public GeoLocationDetails withCountryCode(String countryCode)
The two-letter code for the country.
countryCode
- The two-letter code for the country.public void setCountryName(String countryName)
The name of the country.
countryName
- The name of the country.public String getCountryName()
The name of the country.
public GeoLocationDetails withCountryName(String countryName)
The name of the country.
countryName
- The name of the country.public void setSubdivisionCode(String subdivisionCode)
The code for the subdivision. Route 53 currently supports only states in the United States.
subdivisionCode
- The code for the subdivision. Route 53 currently supports only states in the United States.public String getSubdivisionCode()
The code for the subdivision. Route 53 currently supports only states in the United States.
public GeoLocationDetails withSubdivisionCode(String subdivisionCode)
The code for the subdivision. Route 53 currently supports only states in the United States.
subdivisionCode
- The code for the subdivision. Route 53 currently supports only states in the United States.public void setSubdivisionName(String subdivisionName)
The full name of the subdivision. Route 53 currently supports only states in the United States.
subdivisionName
- The full name of the subdivision. Route 53 currently supports only states in the United States.public String getSubdivisionName()
The full name of the subdivision. Route 53 currently supports only states in the United States.
public GeoLocationDetails withSubdivisionName(String subdivisionName)
The full name of the subdivision. Route 53 currently supports only states in the United States.
subdivisionName
- The full name of the subdivision. Route 53 currently supports only states in the United States.public String toString()
toString
in class Object
Object.toString()
public GeoLocationDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.