@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 |
getCity()
The city for this address.
|
String |
getCompany()
The company name for this address.
|
String |
getCountry()
The country for this address.
|
String |
getEmailAddress()
The recipient's email address.
|
String |
getName()
The recipient's name for this address.
|
String |
getPhoneNumber()
The recipient's phone number.
|
String |
getPostalCode()
The postal code for this address.
|
String |
getStateOrProvince()
The state or province for this address.
|
String |
getStreet1()
The first line of the street address.
|
String |
getStreet2()
The second line of the street address.
|
String |
getStreet3()
The third line of the street address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCity(String city)
The city for this address.
|
void |
setCompany(String company)
The company name for this address.
|
void |
setCountry(String country)
The country for this address.
|
void |
setEmailAddress(String emailAddress)
The recipient's email address.
|
void |
setName(String name)
The recipient's name for this address.
|
void |
setPhoneNumber(String phoneNumber)
The recipient's phone number.
|
void |
setPostalCode(String postalCode)
The postal code for this address.
|
void |
setStateOrProvince(String stateOrProvince)
The state or province for this address.
|
void |
setStreet1(String street1)
The first line of the street address.
|
void |
setStreet2(String street2)
The second line of the street address.
|
void |
setStreet3(String street3)
The third line of the street address.
|
String |
toString()
Returns a string representation of this object.
|
Address |
withCity(String city)
The city for this address.
|
Address |
withCompany(String company)
The company name for this address.
|
Address |
withCountry(String country)
The country for this address.
|
Address |
withEmailAddress(String emailAddress)
The recipient's email address.
|
Address |
withName(String name)
The recipient's name for this address.
|
Address |
withPhoneNumber(String phoneNumber)
The recipient's phone number.
|
Address |
withPostalCode(String postalCode)
The postal code for this address.
|
Address |
withStateOrProvince(String stateOrProvince)
The state or province for this address.
|
Address |
withStreet1(String street1)
The first line of the street address.
|
Address |
withStreet2(String street2)
The second line of the street address.
|
Address |
withStreet3(String street3)
The third line of the street address.
|
public void setCity(String city)
The city for this address.
city
- The city for this address.public String getCity()
The city for this address.
public Address withCity(String city)
The city for this address.
city
- The city for this address.public void setCompany(String company)
The company name for this address.
company
- The company name for this address.public String getCompany()
The company name for this address.
public Address withCompany(String company)
The company name for this address.
company
- The company name for this address.public void setCountry(String country)
The country for this address.
country
- The country for this address.public String getCountry()
The country for this address.
public Address withCountry(String country)
The country for this address.
country
- The country for this address.public void setEmailAddress(String emailAddress)
The recipient's email address.
emailAddress
- The recipient's email address.public String getEmailAddress()
The recipient's email address.
public Address withEmailAddress(String emailAddress)
The recipient's email address.
emailAddress
- The recipient's email address.public void setName(String name)
The recipient's name for this address.
name
- The recipient's name for this address.public String getName()
The recipient's name for this address.
public Address withName(String name)
The recipient's name for this address.
name
- The recipient's name for this address.public void setPhoneNumber(String phoneNumber)
The recipient's phone number.
phoneNumber
- The recipient's phone number.public String getPhoneNumber()
The recipient's phone number.
public Address withPhoneNumber(String phoneNumber)
The recipient's phone number.
phoneNumber
- The recipient's phone number.public void setPostalCode(String postalCode)
The postal code for this address.
postalCode
- The postal code for this address.public String getPostalCode()
The postal code for this address.
public Address withPostalCode(String postalCode)
The postal code for this address.
postalCode
- The postal code for this address.public void setStateOrProvince(String stateOrProvince)
The state or province for this address.
stateOrProvince
- The state or province for this address.public String getStateOrProvince()
The state or province for this address.
public Address withStateOrProvince(String stateOrProvince)
The state or province for this address.
stateOrProvince
- The state or province for this address.public void setStreet1(String street1)
The first line of the street address.
street1
- The first line of the street address.public String getStreet1()
The first line of the street address.
public Address withStreet1(String street1)
The first line of the street address.
street1
- The first line of the street address.public void setStreet2(String street2)
The second line of the street address.
street2
- The second line of the street address.public String getStreet2()
The second line of the street address.
public Address withStreet2(String street2)
The second line of the street address.
street2
- The second line of the street address.public void setStreet3(String street3)
The third line of the street address.
street3
- The third line of the street address.public String getStreet3()
The third line of the street address.
public Address withStreet3(String street3)
The third line of the street address.
street3
- The third line of the street 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.