@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Address extends Object implements Serializable, Cloneable, StructuredPojo
Information about an address.
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
Address |
clone() |
boolean |
equals(Object obj) |
String |
getAddressLine1()
The first line of the address.
|
String |
getAddressLine2()
The second line of the address.
|
String |
getAddressLine3()
The third line of the address.
|
String |
getCity()
The city for the address.
|
String |
getContactName()
The name of the contact.
|
String |
getContactPhoneNumber()
The phone number of the contact.
|
String |
getCountryCode()
The ISO-3166 two-letter country code for the address.
|
String |
getDistrictOrCounty()
The district or county for the address.
|
String |
getMunicipality()
The municipality for the address.
|
String |
getPostalCode()
The postal code for the address.
|
String |
getStateOrRegion()
The state for the address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddressLine1(String addressLine1)
The first line of the address.
|
void |
setAddressLine2(String addressLine2)
The second line of the address.
|
void |
setAddressLine3(String addressLine3)
The third line of the address.
|
void |
setCity(String city)
The city for the address.
|
void |
setContactName(String contactName)
The name of the contact.
|
void |
setContactPhoneNumber(String contactPhoneNumber)
The phone number of the contact.
|
void |
setCountryCode(String countryCode)
The ISO-3166 two-letter country code for the address.
|
void |
setDistrictOrCounty(String districtOrCounty)
The district or county for the address.
|
void |
setMunicipality(String municipality)
The municipality for the address.
|
void |
setPostalCode(String postalCode)
The postal code for the address.
|
void |
setStateOrRegion(String stateOrRegion)
The state for the address.
|
String |
toString()
Returns a string representation of this object.
|
Address |
withAddressLine1(String addressLine1)
The first line of the address.
|
Address |
withAddressLine2(String addressLine2)
The second line of the address.
|
Address |
withAddressLine3(String addressLine3)
The third line of the address.
|
Address |
withCity(String city)
The city for the address.
|
Address |
withContactName(String contactName)
The name of the contact.
|
Address |
withContactPhoneNumber(String contactPhoneNumber)
The phone number of the contact.
|
Address |
withCountryCode(String countryCode)
The ISO-3166 two-letter country code for the address.
|
Address |
withDistrictOrCounty(String districtOrCounty)
The district or county for the address.
|
Address |
withMunicipality(String municipality)
The municipality for the address.
|
Address |
withPostalCode(String postalCode)
The postal code for the address.
|
Address |
withStateOrRegion(String stateOrRegion)
The state for the address.
|
public void setContactName(String contactName)
The name of the contact.
contactName
- The name of the contact.public String getContactName()
The name of the contact.
public Address withContactName(String contactName)
The name of the contact.
contactName
- The name of the contact.public void setContactPhoneNumber(String contactPhoneNumber)
The phone number of the contact.
contactPhoneNumber
- The phone number of the contact.public String getContactPhoneNumber()
The phone number of the contact.
public Address withContactPhoneNumber(String contactPhoneNumber)
The phone number of the contact.
contactPhoneNumber
- The phone number of the contact.public void setAddressLine1(String addressLine1)
The first line of the address.
addressLine1
- The first line of the address.public String getAddressLine1()
The first line of the address.
public Address withAddressLine1(String addressLine1)
The first line of the address.
addressLine1
- The first line of the address.public void setAddressLine2(String addressLine2)
The second line of the address.
addressLine2
- The second line of the address.public String getAddressLine2()
The second line of the address.
public Address withAddressLine2(String addressLine2)
The second line of the address.
addressLine2
- The second line of the address.public void setAddressLine3(String addressLine3)
The third line of the address.
addressLine3
- The third line of the address.public String getAddressLine3()
The third line of the address.
public Address withAddressLine3(String addressLine3)
The third line of the address.
addressLine3
- The third line of the address.public void setCity(String city)
The city for the address.
city
- The city for the address.public String getCity()
The city for the address.
public Address withCity(String city)
The city for the address.
city
- The city for the address.public void setStateOrRegion(String stateOrRegion)
The state for the address.
stateOrRegion
- The state for the address.public String getStateOrRegion()
The state for the address.
public Address withStateOrRegion(String stateOrRegion)
The state for the address.
stateOrRegion
- The state for the address.public void setDistrictOrCounty(String districtOrCounty)
The district or county for the address.
districtOrCounty
- The district or county for the address.public String getDistrictOrCounty()
The district or county for the address.
public Address withDistrictOrCounty(String districtOrCounty)
The district or county for the address.
districtOrCounty
- The district or county for the address.public void setPostalCode(String postalCode)
The postal code for the address.
postalCode
- The postal code for the address.public String getPostalCode()
The postal code for the address.
public Address withPostalCode(String postalCode)
The postal code for the address.
postalCode
- The postal code for the address.public void setCountryCode(String countryCode)
The ISO-3166 two-letter country code for the address.
countryCode
- The ISO-3166 two-letter country code for the address.public String getCountryCode()
The ISO-3166 two-letter country code for the address.
public Address withCountryCode(String countryCode)
The ISO-3166 two-letter country code for the address.
countryCode
- The ISO-3166 two-letter country code for the address.public void setMunicipality(String municipality)
The municipality for the address.
municipality
- The municipality for the address.public String getMunicipality()
The municipality for the address.
public Address withMunicipality(String municipality)
The municipality for the address.
municipality
- The municipality for the 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.