Interface UpdateProfileRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProfileRequest.Builder,UpdateProfileRequest>,CustomerProfilesRequest.Builder,SdkBuilder<UpdateProfileRequest.Builder,UpdateProfileRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateProfileRequest
public static interface UpdateProfileRequest.Builder extends CustomerProfilesRequest.Builder, SdkPojo, CopyableBuilder<UpdateProfileRequest.Builder,UpdateProfileRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateProfileRequest.BuilderaccountNumber(String accountNumber)An account number that you have given to the customer.UpdateProfileRequest.BuilderadditionalInformation(String additionalInformation)Any additional information relevant to the customer’s profile.default UpdateProfileRequest.Builderaddress(Consumer<UpdateAddress.Builder> address)A generic address associated with the customer that is not mailing, shipping, or billing.UpdateProfileRequest.Builderaddress(UpdateAddress address)A generic address associated with the customer that is not mailing, shipping, or billing.UpdateProfileRequest.Builderattributes(Map<String,String> attributes)A key value pair of attributes of a customer profile.default UpdateProfileRequest.BuilderbillingAddress(Consumer<UpdateAddress.Builder> billingAddress)The customer’s billing address.UpdateProfileRequest.BuilderbillingAddress(UpdateAddress billingAddress)The customer’s billing address.UpdateProfileRequest.BuilderbirthDate(String birthDate)The customer’s birth date.UpdateProfileRequest.BuilderbusinessEmailAddress(String businessEmailAddress)The customer’s business email address.UpdateProfileRequest.BuilderbusinessName(String businessName)The name of the customer’s business.UpdateProfileRequest.BuilderbusinessPhoneNumber(String businessPhoneNumber)The customer’s business phone number.UpdateProfileRequest.BuilderdomainName(String domainName)The unique name of the domain.UpdateProfileRequest.BuilderemailAddress(String emailAddress)The customer’s email address, which has not been specified as a personal or business address.UpdateProfileRequest.BuilderfirstName(String firstName)The customer’s first name.UpdateProfileRequest.Buildergender(String gender)The gender with which the customer identifies.UpdateProfileRequest.Buildergender(Gender gender)The gender with which the customer identifies.UpdateProfileRequest.BuildergenderString(String genderString)An alternative toGenderwhich accepts any string as input.UpdateProfileRequest.BuilderhomePhoneNumber(String homePhoneNumber)The customer’s home phone number.UpdateProfileRequest.BuilderlastName(String lastName)The customer’s last name.default UpdateProfileRequest.BuildermailingAddress(Consumer<UpdateAddress.Builder> mailingAddress)The customer’s mailing address.UpdateProfileRequest.BuildermailingAddress(UpdateAddress mailingAddress)The customer’s mailing address.UpdateProfileRequest.BuildermiddleName(String middleName)The customer’s middle name.UpdateProfileRequest.BuildermobilePhoneNumber(String mobilePhoneNumber)The customer’s mobile phone number.UpdateProfileRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateProfileRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateProfileRequest.BuilderpartyType(String partyType)The type of profile used to describe the customer.UpdateProfileRequest.BuilderpartyType(PartyType partyType)The type of profile used to describe the customer.UpdateProfileRequest.BuilderpartyTypeString(String partyTypeString)An alternative toPartyTypewhich accepts any string as input.UpdateProfileRequest.BuilderpersonalEmailAddress(String personalEmailAddress)The customer’s personal email address.UpdateProfileRequest.BuilderphoneNumber(String phoneNumber)The customer’s phone number, which has not been specified as a mobile, home, or business number.UpdateProfileRequest.BuilderprofileId(String profileId)The unique identifier of a customer profile.default UpdateProfileRequest.BuildershippingAddress(Consumer<UpdateAddress.Builder> shippingAddress)The customer’s shipping address.UpdateProfileRequest.BuildershippingAddress(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 Detail
-
domainName
UpdateProfileRequest.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.
-
profileId
UpdateProfileRequest.Builder profileId(String 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
UpdateProfileRequest.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.
-
accountNumber
UpdateProfileRequest.Builder accountNumber(String accountNumber)
An account number that you have given to the customer.
- Parameters:
accountNumber- An 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
UpdateProfileRequest.Builder partyType(String partyType)
The type of profile used to describe the customer.
-
partyType
UpdateProfileRequest.Builder partyType(PartyType partyType)
The type of profile used to describe the customer.
-
businessName
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.Builder gender(String gender)
The gender with which the customer identifies.
-
gender
UpdateProfileRequest.Builder gender(Gender gender)
The gender with which the customer identifies.
-
phoneNumber
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.Builder address(UpdateAddress 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 UpdateProfileRequest.Builder address(Consumer<UpdateAddress.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 theUpdateAddress.Builderavoiding the need to create one manually viaUpdateAddress.builder().When the
Consumercompletes,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:
address(UpdateAddress)
-
shippingAddress
UpdateProfileRequest.Builder shippingAddress(UpdateAddress 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.Builderavoiding the need to create one manually viaUpdateAddress.builder().When the
Consumercompletes,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:
shippingAddress(UpdateAddress)
-
mailingAddress
UpdateProfileRequest.Builder mailingAddress(UpdateAddress 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 UpdateProfileRequest.Builder mailingAddress(Consumer<UpdateAddress.Builder> mailingAddress)
The customer’s mailing address.
This is a convenience method that creates an instance of theUpdateAddress.Builderavoiding the need to create one manually viaUpdateAddress.builder().When the
Consumercompletes,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:
mailingAddress(UpdateAddress)
-
billingAddress
UpdateProfileRequest.Builder billingAddress(UpdateAddress 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 UpdateProfileRequest.Builder billingAddress(Consumer<UpdateAddress.Builder> billingAddress)
The customer’s billing address.
This is a convenience method that creates an instance of theUpdateAddress.Builderavoiding the need to create one manually viaUpdateAddress.builder().When the
Consumercompletes,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:
billingAddress(UpdateAddress)
-
attributes
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.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
UpdateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-