@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 String profileId()
The unique identifier of a customer profile.
public String accountNumber()
A unique account number that you have given to the customer.
public String additionalInformation()
Any additional information relevant to the customer's profile.
public 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 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 String businessName()
The name of the customer’s business.
public String firstName()
The customer’s first name.
public String middleName()
The customer’s middle name.
public String lastName()
The customer’s last name.
public String birthDate()
The customer’s birth date.
public 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 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 String phoneNumber()
The customer's phone number, which has not been specified as a mobile, home, or business number.
public String mobilePhoneNumber()
The customer’s mobile phone number.
public String homePhoneNumber()
The customer’s home phone number.
public String businessPhoneNumber()
The customer’s home phone number.
public String emailAddress()
The customer's email address, which has not been specified as a personal or business address.
public String personalEmailAddress()
The customer’s personal email address.
public String businessEmailAddress()
The customer’s business email address.
public Address address()
A generic address associated with the customer that is not mailing, shipping, or billing.
public Address shippingAddress()
The customer’s shipping address.
public Address mailingAddress()
The customer’s mailing address.
public Address billingAddress()
The customer’s billing address.
public boolean hasAttributes()
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.