@Generated(value="software.amazon.awssdk:codegen") public final class CreateProfileRequest extends CustomerProfilesRequest implements ToCopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateProfileRequest.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 CreateProfileRequest.Builder |
builder() |
String |
businessEmailAddress()
The customer’s business email address.
|
String |
businessName()
The name of the customer’s business.
|
String |
businessPhoneNumber()
The customer’s business phone number.
|
String |
domainName()
The unique name of the domain.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateProfileRequest.Builder> |
serializableBuilderClass() |
Address |
shippingAddress()
The customer’s shipping address.
|
CreateProfileRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String domainName()
The unique name of the domain.
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 business 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 CreateProfileRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>toBuilder in class CustomerProfilesRequestpublic static CreateProfileRequest.Builder builder()
public static Class<? extends CreateProfileRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.