@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()
An 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.
|
List<FoundByKeyValue> |
getFoundByItems()
A list of items used to find a profile returned in a SearchProfiles response.
|
String |
getGender()
Deprecated.
|
String |
getGenderString()
An alternative to Gender which accepts any string as input.
|
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()
Deprecated.
|
String |
getPartyTypeString()
An alternative to PartyType which accepts any string as input.
|
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)
An 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 |
setFoundByItems(Collection<FoundByKeyValue> foundByItems)
A list of items used to find a profile returned in a SearchProfiles response.
|
void |
setGender(String gender)
Deprecated.
|
void |
setGenderString(String genderString)
An alternative to Gender which accepts any string as input.
|
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)
Deprecated.
|
void |
setPartyTypeString(String partyTypeString)
An alternative to PartyType which accepts any string as input.
|
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)
An 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 |
withFoundByItems(Collection<FoundByKeyValue> foundByItems)
A list of items used to find a profile returned in a SearchProfiles response.
|
Profile |
withFoundByItems(FoundByKeyValue... foundByItems)
A list of items used to find a profile returned in a SearchProfiles response.
|
Profile |
withGender(Gender gender)
Deprecated.
|
Profile |
withGender(String gender)
Deprecated.
|
Profile |
withGenderString(String genderString)
An alternative to Gender which accepts any string as input.
|
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)
Deprecated.
|
Profile |
withPartyType(String partyType)
Deprecated.
|
Profile |
withPartyTypeString(String partyTypeString)
An alternative to PartyType which accepts any string as input.
|
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)
An account number that you have given to the customer.
accountNumber
- An account number that you have given to the customer.public String getAccountNumber()
An account number that you have given to the customer.
public Profile withAccountNumber(String accountNumber)
An account number that you have given to the customer.
accountNumber
- An 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.@Deprecated 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
@Deprecated public String getPartyType()
The type of profile used to describe the customer.
PartyType
@Deprecated 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
@Deprecated 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.@Deprecated public void setGender(String gender)
The gender with which the customer identifies.
gender
- The gender with which the customer identifies.Gender
@Deprecated public String getGender()
The gender with which the customer identifies.
Gender
@Deprecated public Profile withGender(String gender)
The gender with which the customer identifies.
gender
- The gender with which the customer identifies.Gender
@Deprecated 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 List<FoundByKeyValue> getFoundByItems()
A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.
If the optional AdditionalSearchKeys
parameter was included in the SearchProfiles request, the FoundByItems
list should be interpreted based on the
LogicalOperator
used in the request:
AND
- The profile included in the response matched all of the search keys specified in the request.
The FoundByItems
will include all of the key-value(s) pairs that were specified in the request (as
this is a requirement of AND
search logic).
OR
- The profile included in the response matched at least one of the search keys specified in the
request. The FoundByItems
will include each of the key-value(s) pairs that the profile was found by.
The OR
relationship is the default behavior if the LogicalOperator
parameter is not
included in the SearchProfiles request.
If the optional AdditionalSearchKeys
parameter was included in the SearchProfiles request, the FoundByItems
list should be interpreted based on the
LogicalOperator
used in the request:
AND
- The profile included in the response matched all of the search keys specified in the
request. The FoundByItems
will include all of the key-value(s) pairs that were specified in
the request (as this is a requirement of AND
search logic).
OR
- The profile included in the response matched at least one of the search keys specified
in the request. The FoundByItems
will include each of the key-value(s) pairs that the
profile was found by.
The OR
relationship is the default behavior if the LogicalOperator
parameter is
not included in the SearchProfiles request.
public void setFoundByItems(Collection<FoundByKeyValue> foundByItems)
A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.
If the optional AdditionalSearchKeys
parameter was included in the SearchProfiles request, the FoundByItems
list should be interpreted based on the
LogicalOperator
used in the request:
AND
- The profile included in the response matched all of the search keys specified in the request.
The FoundByItems
will include all of the key-value(s) pairs that were specified in the request (as
this is a requirement of AND
search logic).
OR
- The profile included in the response matched at least one of the search keys specified in the
request. The FoundByItems
will include each of the key-value(s) pairs that the profile was found by.
The OR
relationship is the default behavior if the LogicalOperator
parameter is not
included in the SearchProfiles request.
foundByItems
- A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.
If the optional AdditionalSearchKeys
parameter was included in the SearchProfiles request, the FoundByItems
list should be interpreted based on the
LogicalOperator
used in the request:
AND
- The profile included in the response matched all of the search keys specified in the
request. The FoundByItems
will include all of the key-value(s) pairs that were specified in
the request (as this is a requirement of AND
search logic).
OR
- The profile included in the response matched at least one of the search keys specified
in the request. The FoundByItems
will include each of the key-value(s) pairs that the profile
was found by.
The OR
relationship is the default behavior if the LogicalOperator
parameter is
not included in the SearchProfiles request.
public Profile withFoundByItems(FoundByKeyValue... foundByItems)
A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.
If the optional AdditionalSearchKeys
parameter was included in the SearchProfiles request, the FoundByItems
list should be interpreted based on the
LogicalOperator
used in the request:
AND
- The profile included in the response matched all of the search keys specified in the request.
The FoundByItems
will include all of the key-value(s) pairs that were specified in the request (as
this is a requirement of AND
search logic).
OR
- The profile included in the response matched at least one of the search keys specified in the
request. The FoundByItems
will include each of the key-value(s) pairs that the profile was found by.
The OR
relationship is the default behavior if the LogicalOperator
parameter is not
included in the SearchProfiles request.
NOTE: This method appends the values to the existing list (if any). Use
setFoundByItems(java.util.Collection)
or withFoundByItems(java.util.Collection)
if you want to
override the existing values.
foundByItems
- A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.
If the optional AdditionalSearchKeys
parameter was included in the SearchProfiles request, the FoundByItems
list should be interpreted based on the
LogicalOperator
used in the request:
AND
- The profile included in the response matched all of the search keys specified in the
request. The FoundByItems
will include all of the key-value(s) pairs that were specified in
the request (as this is a requirement of AND
search logic).
OR
- The profile included in the response matched at least one of the search keys specified
in the request. The FoundByItems
will include each of the key-value(s) pairs that the profile
was found by.
The OR
relationship is the default behavior if the LogicalOperator
parameter is
not included in the SearchProfiles request.
public Profile withFoundByItems(Collection<FoundByKeyValue> foundByItems)
A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.
If the optional AdditionalSearchKeys
parameter was included in the SearchProfiles request, the FoundByItems
list should be interpreted based on the
LogicalOperator
used in the request:
AND
- The profile included in the response matched all of the search keys specified in the request.
The FoundByItems
will include all of the key-value(s) pairs that were specified in the request (as
this is a requirement of AND
search logic).
OR
- The profile included in the response matched at least one of the search keys specified in the
request. The FoundByItems
will include each of the key-value(s) pairs that the profile was found by.
The OR
relationship is the default behavior if the LogicalOperator
parameter is not
included in the SearchProfiles request.
foundByItems
- A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.
If the optional AdditionalSearchKeys
parameter was included in the SearchProfiles request, the FoundByItems
list should be interpreted based on the
LogicalOperator
used in the request:
AND
- The profile included in the response matched all of the search keys specified in the
request. The FoundByItems
will include all of the key-value(s) pairs that were specified in
the request (as this is a requirement of AND
search logic).
OR
- The profile included in the response matched at least one of the search keys specified
in the request. The FoundByItems
will include each of the key-value(s) pairs that the profile
was found by.
The OR
relationship is the default behavior if the LogicalOperator
parameter is
not included in the SearchProfiles request.
public void setPartyTypeString(String partyTypeString)
An alternative to PartyType which accepts any string as input.
partyTypeString
- An alternative to PartyType which accepts any string as input.public String getPartyTypeString()
An alternative to PartyType which accepts any string as input.
public Profile withPartyTypeString(String partyTypeString)
An alternative to PartyType which accepts any string as input.
partyTypeString
- An alternative to PartyType which accepts any string as input.public void setGenderString(String genderString)
An alternative to Gender which accepts any string as input.
genderString
- An alternative to Gender which accepts any string as input.public String getGenderString()
An alternative to Gender which accepts any string as input.
public Profile withGenderString(String genderString)
An alternative to Gender which accepts any string as input.
genderString
- An alternative to Gender which accepts any string as input.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.