@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAddress extends Object implements Serializable, Cloneable, StructuredPojo
Updates associated with the address properties of a customer profile.
Constructor and Description |
---|
UpdateAddress() |
Modifier and Type | Method and Description |
---|---|
UpdateAddress |
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.
|
UpdateAddress |
withAddress1(String address1)
The first line of a customer address.
|
UpdateAddress |
withAddress2(String address2)
The second line of a customer address.
|
UpdateAddress |
withAddress3(String address3)
The third line of a customer address.
|
UpdateAddress |
withAddress4(String address4)
The fourth line of a customer address.
|
UpdateAddress |
withCity(String city)
The city in which a customer lives.
|
UpdateAddress |
withCountry(String country)
The country in which a customer lives.
|
UpdateAddress |
withCounty(String county)
The county in which a customer lives.
|
UpdateAddress |
withPostalCode(String postalCode)
The postal code of a customer address.
|
UpdateAddress |
withProvince(String province)
The province in which a customer lives.
|
UpdateAddress |
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 UpdateAddress 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 UpdateAddress 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 UpdateAddress 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 UpdateAddress 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 UpdateAddress 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 UpdateAddress 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 UpdateAddress 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 UpdateAddress 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 UpdateAddress 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 UpdateAddress 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 UpdateAddress clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.