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 String
A unique account number that you have given to the customer.final String
Any additional information relevant to the customer's profile.final String
address1()
The first line of a customer address.final String
address2()
The second line of a customer address.final String
address3()
The third line of a customer address.final String
address4()
The fourth line of a customer address.final String
The first line of a customer’s billing address.final String
The second line of a customer’s billing address.final String
The third line of a customer’s billing address.final String
The fourth line of a customer’s billing address.final String
The city of a customer’s billing address.final String
The country of a customer’s billing address.final String
The county of a customer’s billing address.final String
The postal code of a customer’s billing address.final String
The province of a customer’s billing address.final String
The state of a customer’s billing address.final String
The customer's birth date.builder()
final String
The customer's business email address.final String
The name of the customer's business.final String
The customer's business phone number.final String
city()
The city in which a customer lives.final String
country()
The country in which a customer lives.final String
county()
The county in which a customer lives.custom()
The custom attributes in customer profile attributes.final String
The customer's email address, which has not been specified as a personal or business address.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The customer's first name.final String
gender()
The customer's gender.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the Custom property.final int
hashCode()
final String
The customer's mobile phone number.final String
lastName()
The customer's last name.final String
The first line of a customer’s mailing address.final String
The second line of a customer’s mailing address.final String
The third line of a customer’s mailing address.final String
The fourth line of a customer’s mailing address.final String
The city of a customer’s mailing address.final String
The country of a customer’s mailing address.final String
The county of a customer’s mailing address.final String
The postal code of a customer’s mailing address.final String
The province of a customer’s mailing address.final String
The state of a customer’s mailing address.final String
The customer's middle name.final String
The customer's mobile phone number.final String
The customer's party type.final String
The customer's phone number, which has not been specified as a mobile, home, or business number.final String
The postal code of a customer address.final String
The ARN of a customer profile.final String
The unique identifier of a customer profile.final String
province()
The province in which a customer lives.static Class
<? extends CustomerProfileAttributes.Builder> final String
The first line of a customer’s shipping address.final String
The second line of a customer’s shipping address.final String
The third line of a customer’s shipping address.final String
The fourth line of a customer’s shipping address.final String
The city of a customer’s shipping address.final String
The country of a customer’s shipping address.final String
The county of a customer’s shipping address.final String
The postal code of a customer’s shipping address.final String
The province of a customer’s shipping address.final String
The state of a customer’s shipping address.final String
state()
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 String
toString()
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<CustomerProfileAttributes.Builder,
CustomerProfileAttributes> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-