Interface CreateProfileRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>,CustomerProfilesRequest.Builder,SdkBuilder<CreateProfileRequest.Builder,CreateProfileRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateProfileRequest
public static interface CreateProfileRequest.Builder extends CustomerProfilesRequest.Builder, SdkPojo, CopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateProfileRequest.BuilderaccountNumber(String accountNumber)A unique account number that you have given to the customer.CreateProfileRequest.BuilderadditionalInformation(String additionalInformation)Any additional information relevant to the customer’s profile.default CreateProfileRequest.Builderaddress(Consumer<Address.Builder> address)A generic address associated with the customer that is not mailing, shipping, or billing.CreateProfileRequest.Builderaddress(Address address)A generic address associated with the customer that is not mailing, shipping, or billing.CreateProfileRequest.Builderattributes(Map<String,String> attributes)A key value pair of attributes of a customer profile.default CreateProfileRequest.BuilderbillingAddress(Consumer<Address.Builder> billingAddress)The customer’s billing address.CreateProfileRequest.BuilderbillingAddress(Address billingAddress)The customer’s billing address.CreateProfileRequest.BuilderbirthDate(String birthDate)The customer’s birth date.CreateProfileRequest.BuilderbusinessEmailAddress(String businessEmailAddress)The customer’s business email address.CreateProfileRequest.BuilderbusinessName(String businessName)The name of the customer’s business.CreateProfileRequest.BuilderbusinessPhoneNumber(String businessPhoneNumber)The customer’s business phone number.CreateProfileRequest.BuilderdomainName(String domainName)The unique name of the domain.CreateProfileRequest.BuilderemailAddress(String emailAddress)The customer’s email address, which has not been specified as a personal or business address.CreateProfileRequest.BuilderfirstName(String firstName)The customer’s first name.CreateProfileRequest.Buildergender(String gender)The gender with which the customer identifies.CreateProfileRequest.Buildergender(Gender gender)The gender with which the customer identifies.CreateProfileRequest.BuildergenderString(String genderString)An alternative toGenderwhich accepts any string as input.CreateProfileRequest.BuilderhomePhoneNumber(String homePhoneNumber)The customer’s home phone number.CreateProfileRequest.BuilderlastName(String lastName)The customer’s last name.default CreateProfileRequest.BuildermailingAddress(Consumer<Address.Builder> mailingAddress)The customer’s mailing address.CreateProfileRequest.BuildermailingAddress(Address mailingAddress)The customer’s mailing address.CreateProfileRequest.BuildermiddleName(String middleName)The customer’s middle name.CreateProfileRequest.BuildermobilePhoneNumber(String mobilePhoneNumber)The customer’s mobile phone number.CreateProfileRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateProfileRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateProfileRequest.BuilderpartyType(String partyType)The type of profile used to describe the customer.CreateProfileRequest.BuilderpartyType(PartyType partyType)The type of profile used to describe the customer.CreateProfileRequest.BuilderpartyTypeString(String partyTypeString)An alternative toPartyTypewhich accepts any string as input.CreateProfileRequest.BuilderpersonalEmailAddress(String personalEmailAddress)The customer’s personal email address.CreateProfileRequest.BuilderphoneNumber(String phoneNumber)The customer’s phone number, which has not been specified as a mobile, home, or business number.default CreateProfileRequest.BuildershippingAddress(Consumer<Address.Builder> shippingAddress)The customer’s shipping address.CreateProfileRequest.BuildershippingAddress(Address shippingAddress)The customer’s shipping address.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
domainName
CreateProfileRequest.Builder domainName(String domainName)
The unique name of the domain.
- Parameters:
domainName- The unique name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountNumber
CreateProfileRequest.Builder accountNumber(String accountNumber)
A unique account number that you have given to the customer.
- Parameters:
accountNumber- A unique account number that you have given to the customer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInformation
CreateProfileRequest.Builder additionalInformation(String additionalInformation)
Any additional information relevant to the customer’s profile.
- Parameters:
additionalInformation- Any additional information relevant to the customer’s profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partyType
CreateProfileRequest.Builder partyType(String partyType)
The type of profile used to describe the customer.
-
partyType
CreateProfileRequest.Builder partyType(PartyType partyType)
The type of profile used to describe the customer.
-
businessName
CreateProfileRequest.Builder businessName(String businessName)
The name of the customer’s business.
- Parameters:
businessName- The name of the customer’s business.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstName
CreateProfileRequest.Builder firstName(String firstName)
The customer’s first name.
- Parameters:
firstName- The customer’s first name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
middleName
CreateProfileRequest.Builder middleName(String middleName)
The customer’s middle name.
- Parameters:
middleName- The customer’s middle name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastName
CreateProfileRequest.Builder lastName(String lastName)
The customer’s last name.
- Parameters:
lastName- The customer’s last name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
birthDate
CreateProfileRequest.Builder birthDate(String birthDate)
The customer’s birth date.
- Parameters:
birthDate- The customer’s birth date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gender
CreateProfileRequest.Builder gender(String gender)
The gender with which the customer identifies.
-
gender
CreateProfileRequest.Builder gender(Gender gender)
The gender with which the customer identifies.
-
phoneNumber
CreateProfileRequest.Builder phoneNumber(String phoneNumber)
The customer’s phone number, which has not been specified as a mobile, home, or business number.
- Parameters:
phoneNumber- The customer’s phone number, which has not been specified as a mobile, home, or business number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mobilePhoneNumber
CreateProfileRequest.Builder mobilePhoneNumber(String mobilePhoneNumber)
The customer’s mobile phone number.
- Parameters:
mobilePhoneNumber- The customer’s mobile phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
homePhoneNumber
CreateProfileRequest.Builder homePhoneNumber(String homePhoneNumber)
The customer’s home phone number.
- Parameters:
homePhoneNumber- The customer’s home phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessPhoneNumber
CreateProfileRequest.Builder businessPhoneNumber(String businessPhoneNumber)
The customer’s business phone number.
- Parameters:
businessPhoneNumber- The customer’s business phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddress
CreateProfileRequest.Builder emailAddress(String emailAddress)
The customer’s email address, which has not been specified as a personal or business address.
- Parameters:
emailAddress- The customer’s email address, which has not been specified as a personal or business address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
personalEmailAddress
CreateProfileRequest.Builder personalEmailAddress(String personalEmailAddress)
The customer’s personal email address.
- Parameters:
personalEmailAddress- The customer’s personal email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessEmailAddress
CreateProfileRequest.Builder businessEmailAddress(String businessEmailAddress)
The customer’s business email address.
- Parameters:
businessEmailAddress- The customer’s business email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
CreateProfileRequest.Builder address(Address address)
A generic address associated with the customer that is not mailing, shipping, or billing.
- Parameters:
address- A generic address associated with the customer that is not mailing, shipping, or billing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
default CreateProfileRequest.Builder address(Consumer<Address.Builder> address)
A generic address associated with the customer that is not mailing, shipping, or billing.
This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddress(Address).- Parameters:
address- a consumer that will call methods onAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
address(Address)
-
shippingAddress
CreateProfileRequest.Builder shippingAddress(Address shippingAddress)
The customer’s shipping address.
- Parameters:
shippingAddress- The customer’s shipping address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shippingAddress
default CreateProfileRequest.Builder shippingAddress(Consumer<Address.Builder> shippingAddress)
The customer’s shipping address.
This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toshippingAddress(Address).- Parameters:
shippingAddress- a consumer that will call methods onAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
shippingAddress(Address)
-
mailingAddress
CreateProfileRequest.Builder mailingAddress(Address mailingAddress)
The customer’s mailing address.
- Parameters:
mailingAddress- The customer’s mailing address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mailingAddress
default CreateProfileRequest.Builder mailingAddress(Consumer<Address.Builder> mailingAddress)
The customer’s mailing address.
This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomailingAddress(Address).- Parameters:
mailingAddress- a consumer that will call methods onAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mailingAddress(Address)
-
billingAddress
CreateProfileRequest.Builder billingAddress(Address billingAddress)
The customer’s billing address.
- Parameters:
billingAddress- The customer’s billing address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingAddress
default CreateProfileRequest.Builder billingAddress(Consumer<Address.Builder> billingAddress)
The customer’s billing address.
This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobillingAddress(Address).- Parameters:
billingAddress- a consumer that will call methods onAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
billingAddress(Address)
-
attributes
CreateProfileRequest.Builder attributes(Map<String,String> attributes)
A key value pair of attributes of a customer profile.
- Parameters:
attributes- A key value pair of attributes of a customer profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partyTypeString
CreateProfileRequest.Builder partyTypeString(String partyTypeString)
An alternative to
PartyTypewhich accepts any string as input.- Parameters:
partyTypeString- An alternative toPartyTypewhich accepts any string as input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
genderString
CreateProfileRequest.Builder genderString(String genderString)
An alternative to
Genderwhich accepts any string as input.- Parameters:
genderString- An alternative toGenderwhich accepts any string as input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-