@Generated(value="software.amazon.awssdk:codegen") public final class Profile extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Profile.Builder,Profile>
The standard profile of a customer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Profile.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountNumber()
A unique account number that you have given to the customer.
|
String |
additionalInformation()
Any additional information relevant to the customer’s profile.
|
Address |
address()
A generic address associated with the customer that is not mailing, shipping, or billing.
|
Map<String,String> |
attributes()
A key value pair of attributes of a customer profile.
|
Address |
billingAddress()
The customer’s billing address.
|
String |
birthDate()
The customer’s birth date.
|
static Profile.Builder |
builder() |
String |
businessEmailAddress()
The customer’s business email address.
|
String |
businessName()
The name of the customer’s business.
|
String |
businessPhoneNumber()
The customer’s home phone number.
|
String |
emailAddress()
The customer’s email address, which has not been specified as a personal or business address.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
firstName()
The customer’s first name.
|
Gender |
gender()
The gender with which the customer identifies.
|
String |
genderAsString()
The gender with which the customer identifies.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttributes()
Returns true if the Attributes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
homePhoneNumber()
The customer’s home phone number.
|
String |
lastName()
The customer’s last name.
|
Address |
mailingAddress()
The customer’s mailing address.
|
String |
middleName()
The customer’s middle name.
|
String |
mobilePhoneNumber()
The customer’s mobile phone number.
|
PartyType |
partyType()
The type of profile used to describe the customer.
|
String |
partyTypeAsString()
The type of profile used to describe the customer.
|
String |
personalEmailAddress()
The customer’s personal email address.
|
String |
phoneNumber()
The customer's phone number, which has not been specified as a mobile, home, or business number.
|
String |
profileId()
The unique identifier of a customer profile.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Profile.Builder> |
serializableBuilderClass() |
Address |
shippingAddress()
The customer’s shipping address.
|
Profile.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String profileId()
The unique identifier of a customer profile.
public final String accountNumber()
A unique account number that you have given to the customer.
public final String additionalInformation()
Any additional information relevant to the customer’s profile.
public final PartyType partyType()
The type of profile used to describe the customer.
If the service returns an enum value that is not available in the current SDK version, partyType will
return PartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
partyTypeAsString().
PartyTypepublic final String partyTypeAsString()
The type of profile used to describe the customer.
If the service returns an enum value that is not available in the current SDK version, partyType will
return PartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
partyTypeAsString().
PartyTypepublic final String businessName()
The name of the customer’s business.
public final String firstName()
The customer’s first name.
public final String middleName()
The customer’s middle name.
public final String lastName()
The customer’s last name.
public final String birthDate()
The customer’s birth date.
public final Gender gender()
The gender with which the customer identifies.
If the service returns an enum value that is not available in the current SDK version, gender will
return Gender.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
genderAsString().
Genderpublic final String genderAsString()
The gender with which the customer identifies.
If the service returns an enum value that is not available in the current SDK version, gender will
return Gender.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
genderAsString().
Genderpublic final String phoneNumber()
The customer's phone number, which has not been specified as a mobile, home, or business number.
public final String mobilePhoneNumber()
The customer’s mobile phone number.
public final String homePhoneNumber()
The customer’s home phone number.
public final String businessPhoneNumber()
The customer’s home phone number.
public final String emailAddress()
The customer’s email address, which has not been specified as a personal or business address.
public final String personalEmailAddress()
The customer’s personal email address.
public final String businessEmailAddress()
The customer’s business email address.
public final Address address()
A generic address associated with the customer that is not mailing, shipping, or billing.
public final Address shippingAddress()
The customer’s shipping address.
public final Address mailingAddress()
The customer’s mailing address.
public final Address billingAddress()
The customer’s billing address.
public final boolean hasAttributes()
public final Map<String,String> attributes()
A key value pair of attributes of a customer profile.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttributes() to see if a value was sent in this field.
public Profile.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Profile.Builder,Profile>public static Profile.Builder builder()
public static Class<? extends Profile.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.