@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Profile extends Object implements Serializable, Cloneable, StructuredPojo
The standard profile of a customer.
Constructor and Description |
---|
Profile() |
Modifier and Type | Method and Description |
---|---|
Profile |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
Profile |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
Profile |
clone() |
boolean |
equals(Object obj) |
String |
getAccountNumber()
A unique account number that you have given to the customer.
|
String |
getAdditionalInformation()
Any additional information relevant to the customer’s profile.
|
Address |
getAddress()
A generic address associated with the customer that is not mailing, shipping, or billing.
|
Map<String,String> |
getAttributes()
A key value pair of attributes of a customer profile.
|
Address |
getBillingAddress()
The customer’s billing address.
|
String |
getBirthDate()
The customer’s birth date.
|
String |
getBusinessEmailAddress()
The customer’s business email address.
|
String |
getBusinessName()
The name of the customer’s business.
|
String |
getBusinessPhoneNumber()
The customer’s home phone number.
|
String |
getEmailAddress()
The customer’s email address, which has not been specified as a personal or business address.
|
String |
getFirstName()
The customer’s first name.
|
String |
getGender()
The gender with which the customer identifies.
|
String |
getHomePhoneNumber()
The customer’s home phone number.
|
String |
getLastName()
The customer’s last name.
|
Address |
getMailingAddress()
The customer’s mailing address.
|
String |
getMiddleName()
The customer’s middle name.
|
String |
getMobilePhoneNumber()
The customer’s mobile phone number.
|
String |
getPartyType()
The type of profile used to describe the customer.
|
String |
getPersonalEmailAddress()
The customer’s personal email address.
|
String |
getPhoneNumber()
The customer's phone number, which has not been specified as a mobile, home, or business number.
|
String |
getProfileId()
The unique identifier of a customer profile.
|
Address |
getShippingAddress()
The customer’s shipping address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountNumber(String accountNumber)
A unique account number that you have given to the customer.
|
void |
setAdditionalInformation(String additionalInformation)
Any additional information relevant to the customer’s profile.
|
void |
setAddress(Address address)
A generic address associated with the customer that is not mailing, shipping, or billing.
|
void |
setAttributes(Map<String,String> attributes)
A key value pair of attributes of a customer profile.
|
void |
setBillingAddress(Address billingAddress)
The customer’s billing address.
|
void |
setBirthDate(String birthDate)
The customer’s birth date.
|
void |
setBusinessEmailAddress(String businessEmailAddress)
The customer’s business email address.
|
void |
setBusinessName(String businessName)
The name of the customer’s business.
|
void |
setBusinessPhoneNumber(String businessPhoneNumber)
The customer’s home phone number.
|
void |
setEmailAddress(String emailAddress)
The customer’s email address, which has not been specified as a personal or business address.
|
void |
setFirstName(String firstName)
The customer’s first name.
|
void |
setGender(String gender)
The gender with which the customer identifies.
|
void |
setHomePhoneNumber(String homePhoneNumber)
The customer’s home phone number.
|
void |
setLastName(String lastName)
The customer’s last name.
|
void |
setMailingAddress(Address mailingAddress)
The customer’s mailing address.
|
void |
setMiddleName(String middleName)
The customer’s middle name.
|
void |
setMobilePhoneNumber(String mobilePhoneNumber)
The customer’s mobile phone number.
|
void |
setPartyType(String partyType)
The type of profile used to describe the customer.
|
void |
setPersonalEmailAddress(String personalEmailAddress)
The customer’s personal email address.
|
void |
setPhoneNumber(String phoneNumber)
The customer's phone number, which has not been specified as a mobile, home, or business number.
|
void |
setProfileId(String profileId)
The unique identifier of a customer profile.
|
void |
setShippingAddress(Address shippingAddress)
The customer’s shipping address.
|
String |
toString()
Returns a string representation of this object.
|
Profile |
withAccountNumber(String accountNumber)
A unique account number that you have given to the customer.
|
Profile |
withAdditionalInformation(String additionalInformation)
Any additional information relevant to the customer’s profile.
|
Profile |
withAddress(Address address)
A generic address associated with the customer that is not mailing, shipping, or billing.
|
Profile |
withAttributes(Map<String,String> attributes)
A key value pair of attributes of a customer profile.
|
Profile |
withBillingAddress(Address billingAddress)
The customer’s billing address.
|
Profile |
withBirthDate(String birthDate)
The customer’s birth date.
|
Profile |
withBusinessEmailAddress(String businessEmailAddress)
The customer’s business email address.
|
Profile |
withBusinessName(String businessName)
The name of the customer’s business.
|
Profile |
withBusinessPhoneNumber(String businessPhoneNumber)
The customer’s home phone number.
|
Profile |
withEmailAddress(String emailAddress)
The customer’s email address, which has not been specified as a personal or business address.
|
Profile |
withFirstName(String firstName)
The customer’s first name.
|
Profile |
withGender(Gender gender)
The gender with which the customer identifies.
|
Profile |
withGender(String gender)
The gender with which the customer identifies.
|
Profile |
withHomePhoneNumber(String homePhoneNumber)
The customer’s home phone number.
|
Profile |
withLastName(String lastName)
The customer’s last name.
|
Profile |
withMailingAddress(Address mailingAddress)
The customer’s mailing address.
|
Profile |
withMiddleName(String middleName)
The customer’s middle name.
|
Profile |
withMobilePhoneNumber(String mobilePhoneNumber)
The customer’s mobile phone number.
|
Profile |
withPartyType(PartyType partyType)
The type of profile used to describe the customer.
|
Profile |
withPartyType(String partyType)
The type of profile used to describe the customer.
|
Profile |
withPersonalEmailAddress(String personalEmailAddress)
The customer’s personal email address.
|
Profile |
withPhoneNumber(String phoneNumber)
The customer's phone number, which has not been specified as a mobile, home, or business number.
|
Profile |
withProfileId(String profileId)
The unique identifier of a customer profile.
|
Profile |
withShippingAddress(Address shippingAddress)
The customer’s shipping address.
|
public void setProfileId(String profileId)
The unique identifier of a customer profile.
profileId
- The unique identifier of a customer profile.public String getProfileId()
The unique identifier of a customer profile.
public Profile withProfileId(String profileId)
The unique identifier of a customer profile.
profileId
- The unique identifier of a customer profile.public void setAccountNumber(String accountNumber)
A unique account number that you have given to the customer.
accountNumber
- A unique account number that you have given to the customer.public String getAccountNumber()
A unique account number that you have given to the customer.
public Profile withAccountNumber(String accountNumber)
A unique account number that you have given to the customer.
accountNumber
- A unique account number that you have given to the customer.public void setAdditionalInformation(String additionalInformation)
Any additional information relevant to the customer’s profile.
additionalInformation
- Any additional information relevant to the customer’s profile.public String getAdditionalInformation()
Any additional information relevant to the customer’s profile.
public Profile withAdditionalInformation(String additionalInformation)
Any additional information relevant to the customer’s profile.
additionalInformation
- Any additional information relevant to the customer’s profile.public void setPartyType(String partyType)
The type of profile used to describe the customer.
partyType
- The type of profile used to describe the customer.PartyType
public String getPartyType()
The type of profile used to describe the customer.
PartyType
public Profile withPartyType(String partyType)
The type of profile used to describe the customer.
partyType
- The type of profile used to describe the customer.PartyType
public Profile withPartyType(PartyType partyType)
The type of profile used to describe the customer.
partyType
- The type of profile used to describe the customer.PartyType
public void setBusinessName(String businessName)
The name of the customer’s business.
businessName
- The name of the customer’s business.public String getBusinessName()
The name of the customer’s business.
public Profile withBusinessName(String businessName)
The name of the customer’s business.
businessName
- The name of the customer’s business.public void setFirstName(String firstName)
The customer’s first name.
firstName
- The customer’s first name.public String getFirstName()
The customer’s first name.
public Profile withFirstName(String firstName)
The customer’s first name.
firstName
- The customer’s first name.public void setMiddleName(String middleName)
The customer’s middle name.
middleName
- The customer’s middle name.public String getMiddleName()
The customer’s middle name.
public Profile withMiddleName(String middleName)
The customer’s middle name.
middleName
- The customer’s middle name.public void setLastName(String lastName)
The customer’s last name.
lastName
- The customer’s last name.public String getLastName()
The customer’s last name.
public Profile withLastName(String lastName)
The customer’s last name.
lastName
- The customer’s last name.public void setBirthDate(String birthDate)
The customer’s birth date.
birthDate
- The customer’s birth date.public String getBirthDate()
The customer’s birth date.
public Profile withBirthDate(String birthDate)
The customer’s birth date.
birthDate
- The customer’s birth date.public void setGender(String gender)
The gender with which the customer identifies.
gender
- The gender with which the customer identifies.Gender
public String getGender()
The gender with which the customer identifies.
Gender
public Profile withGender(String gender)
The gender with which the customer identifies.
gender
- The gender with which the customer identifies.Gender
public Profile withGender(Gender gender)
The gender with which the customer identifies.
gender
- The gender with which the customer identifies.Gender
public void setPhoneNumber(String phoneNumber)
The customer's phone number, which has not been specified as a mobile, home, or business number.
phoneNumber
- The customer's phone number, which has not been specified as a mobile, home, or business number.public String getPhoneNumber()
The customer's phone number, which has not been specified as a mobile, home, or business number.
public Profile withPhoneNumber(String phoneNumber)
The customer's phone number, which has not been specified as a mobile, home, or business number.
phoneNumber
- The customer's phone number, which has not been specified as a mobile, home, or business number.public void setMobilePhoneNumber(String mobilePhoneNumber)
The customer’s mobile phone number.
mobilePhoneNumber
- The customer’s mobile phone number.public String getMobilePhoneNumber()
The customer’s mobile phone number.
public Profile withMobilePhoneNumber(String mobilePhoneNumber)
The customer’s mobile phone number.
mobilePhoneNumber
- The customer’s mobile phone number.public void setHomePhoneNumber(String homePhoneNumber)
The customer’s home phone number.
homePhoneNumber
- The customer’s home phone number.public String getHomePhoneNumber()
The customer’s home phone number.
public Profile withHomePhoneNumber(String homePhoneNumber)
The customer’s home phone number.
homePhoneNumber
- The customer’s home phone number.public void setBusinessPhoneNumber(String businessPhoneNumber)
The customer’s home phone number.
businessPhoneNumber
- The customer’s home phone number.public String getBusinessPhoneNumber()
The customer’s home phone number.
public Profile withBusinessPhoneNumber(String businessPhoneNumber)
The customer’s home phone number.
businessPhoneNumber
- The customer’s home phone number.public void setEmailAddress(String emailAddress)
The customer’s email address, which has not been specified as a personal or business address.
emailAddress
- The customer’s email address, which has not been specified as a personal or business address.public String getEmailAddress()
The customer’s email address, which has not been specified as a personal or business address.
public Profile withEmailAddress(String emailAddress)
The customer’s email address, which has not been specified as a personal or business address.
emailAddress
- The customer’s email address, which has not been specified as a personal or business address.public void setPersonalEmailAddress(String personalEmailAddress)
The customer’s personal email address.
personalEmailAddress
- The customer’s personal email address.public String getPersonalEmailAddress()
The customer’s personal email address.
public Profile withPersonalEmailAddress(String personalEmailAddress)
The customer’s personal email address.
personalEmailAddress
- The customer’s personal email address.public void setBusinessEmailAddress(String businessEmailAddress)
The customer’s business email address.
businessEmailAddress
- The customer’s business email address.public String getBusinessEmailAddress()
The customer’s business email address.
public Profile withBusinessEmailAddress(String businessEmailAddress)
The customer’s business email address.
businessEmailAddress
- The customer’s business email address.public void setAddress(Address address)
A generic address associated with the customer that is not mailing, shipping, or billing.
address
- A generic address associated with the customer that is not mailing, shipping, or billing.public Address getAddress()
A generic address associated with the customer that is not mailing, shipping, or billing.
public Profile withAddress(Address address)
A generic address associated with the customer that is not mailing, shipping, or billing.
address
- A generic address associated with the customer that is not mailing, shipping, or billing.public void setShippingAddress(Address shippingAddress)
The customer’s shipping address.
shippingAddress
- The customer’s shipping address.public Address getShippingAddress()
The customer’s shipping address.
public Profile withShippingAddress(Address shippingAddress)
The customer’s shipping address.
shippingAddress
- The customer’s shipping address.public void setMailingAddress(Address mailingAddress)
The customer’s mailing address.
mailingAddress
- The customer’s mailing address.public Address getMailingAddress()
The customer’s mailing address.
public Profile withMailingAddress(Address mailingAddress)
The customer’s mailing address.
mailingAddress
- The customer’s mailing address.public void setBillingAddress(Address billingAddress)
The customer’s billing address.
billingAddress
- The customer’s billing address.public Address getBillingAddress()
The customer’s billing address.
public Profile withBillingAddress(Address billingAddress)
The customer’s billing address.
billingAddress
- The customer’s billing address.public Map<String,String> getAttributes()
A key value pair of attributes of a customer profile.
public void setAttributes(Map<String,String> attributes)
A key value pair of attributes of a customer profile.
attributes
- A key value pair of attributes of a customer profile.public Profile withAttributes(Map<String,String> attributes)
A key value pair of attributes of a customer profile.
attributes
- A key value pair of attributes of a customer profile.public Profile addAttributesEntry(String key, String value)
public Profile clearAttributesEntries()
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.