Class CustomerProfileAttributes
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomerProfileAttributes.Builder,CustomerProfileAttributes>
The customer profile attributes that are used with the message template.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringA unique account number that you have given to the customer.final StringAny additional information relevant to the customer's profile.final Stringaddress1()The first line of a customer address.final Stringaddress2()The second line of a customer address.final Stringaddress3()The third line of a customer address.final Stringaddress4()The fourth line of a customer address.final StringThe first line of a customer’s billing address.final StringThe second line of a customer’s billing address.final StringThe third line of a customer’s billing address.final StringThe fourth line of a customer’s billing address.final StringThe city of a customer’s billing address.final StringThe country of a customer’s billing address.final StringThe county of a customer’s billing address.final StringThe postal code of a customer’s billing address.final StringThe province of a customer’s billing address.final StringThe state of a customer’s billing address.final StringThe customer's birth date.builder()final StringThe customer's business email address.final StringThe name of the customer's business.final StringThe customer's business phone number.final Stringcity()The city in which a customer lives.final Stringcountry()The country in which a customer lives.final Stringcounty()The county in which a customer lives.custom()The custom attributes in customer profile attributes.final StringThe customer's email address, which has not been specified as a personal or business address.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe customer's first name.final Stringgender()The customer's gender.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the Custom property.final inthashCode()final StringThe customer's mobile phone number.final StringlastName()The customer's last name.final StringThe first line of a customer’s mailing address.final StringThe second line of a customer’s mailing address.final StringThe third line of a customer’s mailing address.final StringThe fourth line of a customer’s mailing address.final StringThe city of a customer’s mailing address.final StringThe country of a customer’s mailing address.final StringThe county of a customer’s mailing address.final StringThe postal code of a customer’s mailing address.final StringThe province of a customer’s mailing address.final StringThe state of a customer’s mailing address.final StringThe customer's middle name.final StringThe customer's mobile phone number.final StringThe customer's party type.final StringThe customer's phone number, which has not been specified as a mobile, home, or business number.final StringThe postal code of a customer address.final StringThe ARN of a customer profile.final StringThe unique identifier of a customer profile.final Stringprovince()The province in which a customer lives.static Class<? extends CustomerProfileAttributes.Builder> final StringThe first line of a customer’s shipping address.final StringThe second line of a customer’s shipping address.final StringThe third line of a customer’s shipping address.final StringThe fourth line of a customer’s shipping address.final StringThe city of a customer’s shipping address.final StringThe country of a customer’s shipping address.final StringThe county of a customer’s shipping address.final StringThe postal code of a customer’s shipping address.final StringThe province of a customer’s shipping address.final StringThe state of a customer’s shipping address.final Stringstate()The state in which a customer lives.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
profileId
The unique identifier of a customer profile.
- Returns:
- The unique identifier of a customer profile.
-
profileARN
The ARN of a customer profile.
- Returns:
- The ARN of a customer profile.
-
firstName
-
middleName
-
lastName
-
accountNumber
A unique account number that you have given to the customer.
- Returns:
- A unique account number that you have given to the customer.
-
emailAddress
The customer's email address, which has not been specified as a personal or business address.
- Returns:
- The customer's email address, which has not been specified as a personal or business address.
-
phoneNumber
The customer's phone number, which has not been specified as a mobile, home, or business number.
- Returns:
- The customer's phone number, which has not been specified as a mobile, home, or business number.
-
additionalInformation
Any additional information relevant to the customer's profile.
- Returns:
- Any additional information relevant to the customer's profile.
-
partyType
-
businessName
The name of the customer's business.
- Returns:
- The name of the customer's business.
-
birthDate
-
gender
-
mobilePhoneNumber
The customer's mobile phone number.
- Returns:
- The customer's mobile phone number.
-
homePhoneNumber
The customer's mobile phone number.
- Returns:
- The customer's mobile phone number.
-
businessPhoneNumber
The customer's business phone number.
- Returns:
- The customer's business phone number.
-
businessEmailAddress
The customer's business email address.
- Returns:
- The customer's business email address.
-
address1
The first line of a customer address.
- Returns:
- The first line of a customer address.
-
address2
The second line of a customer address.
- Returns:
- The second line of a customer address.
-
address3
The third line of a customer address.
- Returns:
- The third line of a customer address.
-
address4
The fourth line of a customer address.
- Returns:
- The fourth line of a customer address.
-
city
The city in which a customer lives.
- Returns:
- The city in which a customer lives.
-
county
The county in which a customer lives.
- Returns:
- The county in which a customer lives.
-
country
The country in which a customer lives.
- Returns:
- The country in which a customer lives.
-
postalCode
The postal code of a customer address.
- Returns:
- The postal code of a customer address.
-
province
The province in which a customer lives.
- Returns:
- The province in which a customer lives.
-
state
The state in which a customer lives.
- Returns:
- The state in which a customer lives.
-
shippingAddress1
The first line of a customer’s shipping address.
- Returns:
- The first line of a customer’s shipping address.
-
shippingAddress2
The second line of a customer’s shipping address.
- Returns:
- The second line of a customer’s shipping address.
-
shippingAddress3
The third line of a customer’s shipping address.
- Returns:
- The third line of a customer’s shipping address.
-
shippingAddress4
The fourth line of a customer’s shipping address.
- Returns:
- The fourth line of a customer’s shipping address.
-
shippingCity
The city of a customer’s shipping address.
- Returns:
- The city of a customer’s shipping address.
-
shippingCounty
The county of a customer’s shipping address.
- Returns:
- The county of a customer’s shipping address.
-
shippingCountry
The country of a customer’s shipping address.
- Returns:
- The country of a customer’s shipping address.
-
shippingPostalCode
The postal code of a customer’s shipping address.
- Returns:
- The postal code of a customer’s shipping address.
-
shippingProvince
The province of a customer’s shipping address.
- Returns:
- The province of a customer’s shipping address.
-
shippingState
The state of a customer’s shipping address.
- Returns:
- The state of a customer’s shipping address.
-
mailingAddress1
The first line of a customer’s mailing address.
- Returns:
- The first line of a customer’s mailing address.
-
mailingAddress2
The second line of a customer’s mailing address.
- Returns:
- The second line of a customer’s mailing address.
-
mailingAddress3
The third line of a customer’s mailing address.
- Returns:
- The third line of a customer’s mailing address.
-
mailingAddress4
The fourth line of a customer’s mailing address.
- Returns:
- The fourth line of a customer’s mailing address.
-
mailingCity
The city of a customer’s mailing address.
- Returns:
- The city of a customer’s mailing address.
-
mailingCounty
The county of a customer’s mailing address.
- Returns:
- The county of a customer’s mailing address.
-
mailingCountry
The country of a customer’s mailing address.
- Returns:
- The country of a customer’s mailing address.
-
mailingPostalCode
The postal code of a customer’s mailing address.
- Returns:
- The postal code of a customer’s mailing address.
-
mailingProvince
The province of a customer’s mailing address.
- Returns:
- The province of a customer’s mailing address.
-
mailingState
The state of a customer’s mailing address.
- Returns:
- The state of a customer’s mailing address.
-
billingAddress1
The first line of a customer’s billing address.
- Returns:
- The first line of a customer’s billing address.
-
billingAddress2
The second line of a customer’s billing address.
- Returns:
- The second line of a customer’s billing address.
-
billingAddress3
The third line of a customer’s billing address.
- Returns:
- The third line of a customer’s billing address.
-
billingAddress4
The fourth line of a customer’s billing address.
- Returns:
- The fourth line of a customer’s billing address.
-
billingCity
The city of a customer’s billing address.
- Returns:
- The city of a customer’s billing address.
-
billingCounty
The county of a customer’s billing address.
- Returns:
- The county of a customer’s billing address.
-
billingCountry
The country of a customer’s billing address.
- Returns:
- The country of a customer’s billing address.
-
billingPostalCode
The postal code of a customer’s billing address.
- Returns:
- The postal code of a customer’s billing address.
-
billingProvince
The province of a customer’s billing address.
- Returns:
- The province of a customer’s billing address.
-
billingState
The state of a customer’s billing address.
- Returns:
- The state of a customer’s billing address.
-
hasCustom
public final boolean hasCustom()For responses, this returns true if the service returned a value for the Custom property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
custom
The custom attributes in customer profile attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCustom()method.- Returns:
- The custom attributes in customer profile attributes.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomerProfileAttributes.Builder,CustomerProfileAttributes> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-