Interface CreateCustomerAccountRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCustomerAccountRequest.Builder,,CreateCustomerAccountRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<CreateCustomerAccountRequest.Builder,,CreateCustomerAccountRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCustomerAccountRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccount(Consumer<CustomerAccountData.Builder> account) Specifies the details of the customer, such as the company name, website, and address.account(CustomerAccountData account) Specifies the details of the customer, such as the company name, website, and address.Specifies the catalog for the request.clientToken(String clientToken) Specifies a unique, case-sensitive identifier that you provide to make the request idempotent.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partnerAccountIdentifier(String partnerAccountIdentifier) Specifies your own identifier for the customer account, such as the account ID in your CRM system.tags(Collection<Tag> tags) Specifies the tags to add to the customer account.tags(Consumer<Tag.Builder>... tags) Specifies the tags to add to the customer account.Specifies the tags to add to the customer account.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
catalog
Specifies the catalog for the request. Valid values:
-
AWS: Production. -
Sandbox: Testing environments.
- Parameters:
catalog- Specifies the catalog for the request. Valid values:-
AWS: Production. -
Sandbox: Testing environments.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
account
Specifies the details of the customer, such as the company name, website, and address. AWS uses these details to match the account to a customer.
- Parameters:
account- Specifies the details of the customer, such as the company name, website, and address. AWS uses these details to match the account to a customer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
Specifies the details of the customer, such as the company name, website, and address. AWS uses these details to match the account to a customer.
This is a convenience method that creates an instance of theCustomerAccountData.Builderavoiding the need to create one manually viaCustomerAccountData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccount(CustomerAccountData).- Parameters:
account- a consumer that will call methods onCustomerAccountData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partnerAccountIdentifier
Specifies your own identifier for the customer account, such as the account ID in your CRM system. Use it to correlate the customer account with your records.
- Parameters:
partnerAccountIdentifier- Specifies your own identifier for the customer account, such as the account ID in your CRM system. Use it to correlate the customer account with your records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags to add to the customer account. Each tag is a key-value pair.
- Parameters:
tags- Specifies the tags to add to the customer account. Each tag is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags to add to the customer account. Each tag is a key-value pair.
- Parameters:
tags- Specifies the tags to add to the customer account. Each tag is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags to add to the customer account. Each tag is a key-value pair.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Specifies a unique, case-sensitive identifier that you provide to make the request idempotent. If you retry a request with the same token, the operation returns the result of the original request instead of creating another customer account.
- Parameters:
clientToken- Specifies a unique, case-sensitive identifier that you provide to make the request idempotent. If you retry a request with the same token, the operation returns the result of the original request instead of creating another customer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCustomerAccountRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCustomerAccountRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-