@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class City extends Object implements Serializable, Cloneable, StructuredPojo
Information about a city.
Constructor and Description |
---|
City() |
Modifier and Type | Method and Description |
---|---|
City |
clone() |
boolean |
equals(Object obj) |
String |
getCityName()
The name of the city.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCityName(String cityName)
The name of the city.
|
String |
toString()
Returns a string representation of this object.
|
City |
withCityName(String cityName)
The name of the city.
|
public void setCityName(String cityName)
The name of the city.
cityName
- The name of the city.public String getCityName()
The name of the city.
public City withCityName(String cityName)
The name of the city.
cityName
- The name of the city.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.