@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Location extends Object implements Serializable, Cloneable, StructuredPojo
Describes a location.
| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
Location |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The physical address.
|
String |
getLatitude()
The latitude.
|
String |
getLongitude()
The longitude.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAddress(String address)
The physical address.
|
void |
setLatitude(String latitude)
The latitude.
|
void |
setLongitude(String longitude)
The longitude.
|
String |
toString()
Returns a string representation of this object.
|
Location |
withAddress(String address)
The physical address.
|
Location |
withLatitude(String latitude)
The latitude.
|
Location |
withLongitude(String longitude)
The longitude.
|
public void setAddress(String address)
The physical address.
address - The physical address.public String getAddress()
The physical address.
public Location withAddress(String address)
The physical address.
address - The physical address.public void setLatitude(String latitude)
The latitude.
latitude - The latitude.public String getLatitude()
The latitude.
public Location withLatitude(String latitude)
The latitude.
latitude - The latitude.public void setLongitude(String longitude)
The longitude.
longitude - The longitude.public String getLongitude()
The longitude.
public Location withLongitude(String longitude)
The longitude.
longitude - The longitude.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.