Interface CreateRevenueAttributionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRevenueAttributionRequest.Builder,,CreateRevenueAttributionRequest> PartnerCentralRevenueMeasurementRequest.Builder,SdkBuilder<CreateRevenueAttributionRequest.Builder,,CreateRevenueAttributionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRevenueAttributionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog in which to create the revenue attribution.catalog(CatalogName catalog) The catalog in which to create the revenue attribution.clientToken(String clientToken) A unique token to ensure idempotency of the create request.description(String description) A description of the revenue attribution.The name of the revenue attribution.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.productIdentifier(String productIdentifier) The unique product identifier in AWS Marketplace.tags(Collection<Tag> tags) Tags to associate with the revenue attribution upon creation.tags(Consumer<Tag.Builder>... tags) Tags to associate with the revenue attribution upon creation.Tags to associate with the revenue attribution upon creation.tenancyModel(String tenancyModel) The tenancy model for this revenue attribution.tenancyModel(TenancyModel tenancyModel) The tenancy model for this revenue attribution.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.partnercentralrevenuemeasurement.model.PartnerCentralRevenueMeasurementRequest.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
The catalog in which to create the revenue attribution.
- Parameters:
catalog- The catalog in which to create the revenue attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalog
The catalog in which to create the revenue attribution.
- Parameters:
catalog- The catalog in which to create the revenue attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique token to ensure idempotency of the create request.
- Parameters:
clientToken- A unique token to ensure idempotency of the create request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the revenue attribution. Must be unique within the catalog and the partner's account.
- Parameters:
name- The name of the revenue attribution. Must be unique within the catalog and the partner's account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the revenue attribution.
- Parameters:
description- A description of the revenue attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancyModel
The tenancy model for this revenue attribution.
- Parameters:
tenancyModel- The tenancy model for this revenue attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tenancyModel
The tenancy model for this revenue attribution.
- Parameters:
tenancyModel- The tenancy model for this revenue attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
productIdentifier
The unique product identifier in AWS Marketplace. Accepts a product entity ID (e.g., prod-abc123def4567) or a product ARN.
- Parameters:
productIdentifier- The unique product identifier in AWS Marketplace. Accepts a product entity ID (e.g., prod-abc123def4567) or a product ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to associate with the revenue attribution upon creation.
- Parameters:
tags- Tags to associate with the revenue attribution upon creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to associate with the revenue attribution upon creation.
- Parameters:
tags- Tags to associate with the revenue attribution upon creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to associate with the revenue attribution upon creation.
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:
-
overrideConfiguration
CreateRevenueAttributionRequest.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
CreateRevenueAttributionRequest.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.
-