Interface UpdateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateProfileRequest.Builder,
,UpdateProfileRequest> CustomerProfilesRequest.Builder
,SdkBuilder<UpdateProfileRequest.Builder,
,UpdateProfileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountNumber
(String accountNumber) A unique account number that you have given to the customer.additionalInformation
(String additionalInformation) Any additional information relevant to the customer’s profile.default UpdateProfileRequest.Builder
address
(Consumer<UpdateAddress.Builder> address) A generic address associated with the customer that is not mailing, shipping, or billing.address
(UpdateAddress address) A generic address associated with the customer that is not mailing, shipping, or billing.attributes
(Map<String, String> attributes) A key value pair of attributes of a customer profile.default UpdateProfileRequest.Builder
billingAddress
(Consumer<UpdateAddress.Builder> billingAddress) The customer’s billing address.billingAddress
(UpdateAddress billingAddress) The customer’s billing address.The customer’s birth date.businessEmailAddress
(String businessEmailAddress) The customer’s business email address.businessName
(String businessName) The name of the customer’s business.businessPhoneNumber
(String businessPhoneNumber) The customer’s business phone number.domainName
(String domainName) The unique name of the domain.emailAddress
(String emailAddress) The customer’s email address, which has not been specified as a personal or business address.The customer’s first name.The gender with which the customer identifies.The gender with which the customer identifies.genderString
(String genderString) An alternative toGender
which accepts any string as input.homePhoneNumber
(String homePhoneNumber) The customer’s home phone number.The customer’s last name.default UpdateProfileRequest.Builder
mailingAddress
(Consumer<UpdateAddress.Builder> mailingAddress) The customer’s mailing address.mailingAddress
(UpdateAddress mailingAddress) The customer’s mailing address.middleName
(String middleName) The customer’s middle name.mobilePhoneNumber
(String mobilePhoneNumber) The customer’s mobile phone number.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The type of profile used to describe the customer.The type of profile used to describe the customer.partyTypeString
(String partyTypeString) An alternative toPartyType
which accepts any string as input.personalEmailAddress
(String personalEmailAddress) The customer’s personal email address.phoneNumber
(String phoneNumber) The customer’s phone number, which has not been specified as a mobile, home, or business number.The unique identifier of a customer profile.default UpdateProfileRequest.Builder
shippingAddress
(Consumer<UpdateAddress.Builder> shippingAddress) The customer’s shipping address.shippingAddress
(UpdateAddress 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 Details
-
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.
-
profileId
The unique identifier of a customer profile.
- Parameters:
profileId
- The unique identifier of a customer profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
partyType
The type of profile used to describe the customer.
- Parameters:
partyType
- The type of profile used to describe the customer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partyType
The type of profile used to describe the customer.
- Parameters:
partyType
- The type of profile used to describe the customer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
The gender with which the customer identifies.
- Parameters:
gender
- The gender with which the customer identifies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gender
The gender with which the customer identifies.
- Parameters:
gender
- The gender with which the customer identifies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
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
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
A generic address associated with the customer that is not mailing, shipping, or billing.
This is a convenience method that creates an instance of theUpdateAddress.Builder
avoiding the need to create one manually viaUpdateAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddress(UpdateAddress)
.- Parameters:
address
- a consumer that will call methods onUpdateAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 UpdateProfileRequest.Builder shippingAddress(Consumer<UpdateAddress.Builder> shippingAddress) The customer’s shipping address.
This is a convenience method that creates an instance of theUpdateAddress.Builder
avoiding the need to create one manually viaUpdateAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshippingAddress(UpdateAddress)
.- Parameters:
shippingAddress
- a consumer that will call methods onUpdateAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The customer’s mailing address.
This is a convenience method that creates an instance of theUpdateAddress.Builder
avoiding the need to create one manually viaUpdateAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomailingAddress(UpdateAddress)
.- Parameters:
mailingAddress
- a consumer that will call methods onUpdateAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The customer’s billing address.
This is a convenience method that creates an instance of theUpdateAddress.Builder
avoiding the need to create one manually viaUpdateAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillingAddress(UpdateAddress)
.- Parameters:
billingAddress
- a consumer that will call methods onUpdateAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
An alternative to
PartyType
which accepts any string as input.- Parameters:
partyTypeString
- An alternative toPartyType
which accepts any string as input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
genderString
An alternative to
Gender
which accepts any string as input.- Parameters:
genderString
- An alternative toGender
which accepts any string as input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-