@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Country extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the country.
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)
Marshalls this structured data using the given
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.
|
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)
Country code of the remote IP address.
countryCode
- Country code of the remote IP address.public String getCountryCode()
Country code of the remote IP address.
public Country withCountryCode(String countryCode)
Country code of the remote IP address.
countryCode
- Country code of the remote IP address.public void setCountryName(String countryName)
Country name of the remote IP address.
countryName
- Country name of the remote IP address.public String getCountryName()
Country name of the remote IP address.
public Country withCountryName(String countryName)
Country name of the remote IP address.
countryName
- Country name of the remote IP address.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.