@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Country extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Country() |
| Modifier and Type | Method and Description |
|---|---|
Country |
clone() |
boolean |
equals(Object obj) |
String |
getCountryCode()
Country code of the remote IP address.
|
String |
getCountryName()
Country name of the remote IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCountryCode(String countryCode)
Country code of the remote IP address.
|
void |
setCountryName(String countryName)
Country name of the remote IP address.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Country |
withCountryCode(String countryCode)
Country code of the remote IP address.
|
Country |
withCountryName(String countryName)
Country name of the remote IP address.
|
public void setCountryCode(String countryCode)
countryCode - Country code of the remote IP address.public String getCountryCode()
public Country withCountryCode(String countryCode)
countryCode - Country code of the remote IP address.public void setCountryName(String countryName)
countryName - Country name of the remote IP address.public String getCountryName()
public Country withCountryName(String countryName)
countryName - Country name of the remote IP address.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.