@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, for example, a state in the United States or a province in Canada.
|
String |
getSubdivisionName()
The full name of the subdivision, for example, a state in the United States or a province in Canada.
|
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, for example, a state in the United States or a province in Canada.
|
void |
setSubdivisionName(String subdivisionName)
The full name of the subdivision, for example, a state in the United States or a province in Canada.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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, for example, a state in the United States or a province in Canada.
|
GeoLocationDetails |
withSubdivisionName(String subdivisionName)
The full name of the subdivision, for example, a state in the United States or a province in Canada.
|
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, for example, a state in the United States or a province in Canada.
subdivisionCode
- The code for the subdivision, for example, a state in the United States or a province in Canada.public String getSubdivisionCode()
The code for the subdivision, for example, a state in the United States or a province in Canada.
public GeoLocationDetails withSubdivisionCode(String subdivisionCode)
The code for the subdivision, for example, a state in the United States or a province in Canada.
subdivisionCode
- The code for the subdivision, for example, a state in the United States or a province in Canada.public void setSubdivisionName(String subdivisionName)
The full name of the subdivision, for example, a state in the United States or a province in Canada.
subdivisionName
- The full name of the subdivision, for example, a state in the United States or a province in Canada.public String getSubdivisionName()
The full name of the subdivision, for example, a state in the United States or a province in Canada.
public GeoLocationDetails withSubdivisionName(String subdivisionName)
The full name of the subdivision, for example, a state in the United States or a province in Canada.
subdivisionName
- The full name of the subdivision, for example, a state in the United States or a province in Canada.public String toString()
toString
in class Object
Object.toString()
public GeoLocationDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.