@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class City extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the city associated with the IP address.
| Constructor and Description |
|---|
City() |
| Modifier and Type | Method and Description |
|---|---|
City |
clone() |
boolean |
equals(Object obj) |
String |
getCityName()
City name of the remote IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCityName(String cityName)
City name of the remote IP address.
|
String |
toString()
Returns a string representation of this object.
|
City |
withCityName(String cityName)
City name of the remote IP address.
|
public void setCityName(String cityName)
City name of the remote IP address.
cityName - City name of the remote IP address.public String getCityName()
City name of the remote IP address.
public City withCityName(String cityName)
City name of the remote IP address.
cityName - City name of the remote IP address.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.