@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Address extends Object implements Serializable, Cloneable, StructuredPojo
A generic address associated with the customer that is not mailing, shipping, or billing.
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
Address |
clone() |
boolean |
equals(Object obj) |
String |
getAddress1()
The first line of a customer address.
|
String |
getAddress2()
The second line of a customer address.
|
String |
getAddress3()
The third line of a customer address.
|
String |
getAddress4()
The fourth line of a customer address.
|
String |
getCity()
The city in which a customer lives.
|
String |
getCountry()
The country in which a customer lives.
|
String |
getCounty()
The county in which a customer lives.
|
String |
getPostalCode()
The postal code of a customer address.
|
String |
getProvince()
The province in which a customer lives.
|
String |
getState()
The state in which a customer lives.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddress1(String address1)
The first line of a customer address.
|
void |
setAddress2(String address2)
The second line of a customer address.
|
void |
setAddress3(String address3)
The third line of a customer address.
|
void |
setAddress4(String address4)
The fourth line of a customer address.
|
void |
setCity(String city)
The city in which a customer lives.
|
void |
setCountry(String country)
The country in which a customer lives.
|
void |
setCounty(String county)
The county in which a customer lives.
|
void |
setPostalCode(String postalCode)
The postal code of a customer address.
|
void |
setProvince(String province)
The province in which a customer lives.
|
void |
setState(String state)
The state in which a customer lives.
|
String |
toString()
Returns a string representation of this object.
|
Address |
withAddress1(String address1)
The first line of a customer address.
|
Address |
withAddress2(String address2)
The second line of a customer address.
|
Address |
withAddress3(String address3)
The third line of a customer address.
|
Address |
withAddress4(String address4)
The fourth line of a customer address.
|
Address |
withCity(String city)
The city in which a customer lives.
|
Address |
withCountry(String country)
The country in which a customer lives.
|
Address |
withCounty(String county)
The county in which a customer lives.
|
Address |
withPostalCode(String postalCode)
The postal code of a customer address.
|
Address |
withProvince(String province)
The province in which a customer lives.
|
Address |
withState(String state)
The state in which a customer lives.
|
public void setAddress1(String address1)
The first line of a customer address.
address1
- The first line of a customer address.public String getAddress1()
The first line of a customer address.
public Address withAddress1(String address1)
The first line of a customer address.
address1
- The first line of a customer address.public void setAddress2(String address2)
The second line of a customer address.
address2
- The second line of a customer address.public String getAddress2()
The second line of a customer address.
public Address withAddress2(String address2)
The second line of a customer address.
address2
- The second line of a customer address.public void setAddress3(String address3)
The third line of a customer address.
address3
- The third line of a customer address.public String getAddress3()
The third line of a customer address.
public Address withAddress3(String address3)
The third line of a customer address.
address3
- The third line of a customer address.public void setAddress4(String address4)
The fourth line of a customer address.
address4
- The fourth line of a customer address.public String getAddress4()
The fourth line of a customer address.
public Address withAddress4(String address4)
The fourth line of a customer address.
address4
- The fourth line of a customer address.public void setCity(String city)
The city in which a customer lives.
city
- The city in which a customer lives.public String getCity()
The city in which a customer lives.
public Address withCity(String city)
The city in which a customer lives.
city
- The city in which a customer lives.public void setCounty(String county)
The county in which a customer lives.
county
- The county in which a customer lives.public String getCounty()
The county in which a customer lives.
public Address withCounty(String county)
The county in which a customer lives.
county
- The county in which a customer lives.public void setState(String state)
The state in which a customer lives.
state
- The state in which a customer lives.public String getState()
The state in which a customer lives.
public Address withState(String state)
The state in which a customer lives.
state
- The state in which a customer lives.public void setProvince(String province)
The province in which a customer lives.
province
- The province in which a customer lives.public String getProvince()
The province in which a customer lives.
public Address withProvince(String province)
The province in which a customer lives.
province
- The province in which a customer lives.public void setCountry(String country)
The country in which a customer lives.
country
- The country in which a customer lives.public String getCountry()
The country in which a customer lives.
public Address withCountry(String country)
The country in which a customer lives.
country
- The country in which a customer lives.public void setPostalCode(String postalCode)
The postal code of a customer address.
postalCode
- The postal code of a customer address.public String getPostalCode()
The postal code of a customer address.
public Address withPostalCode(String postalCode)
The postal code of a customer address.
postalCode
- The postal code of a customer 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.