Interface CreateRevenueAttributionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRevenueAttributionResponse.Builder,,CreateRevenueAttributionResponse> PartnerCentralRevenueMeasurementResponse.Builder,SdkBuilder<CreateRevenueAttributionResponse.Builder,,CreateRevenueAttributionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateRevenueAttributionResponse
@Mutable
@NotThreadSafe
public static interface CreateRevenueAttributionResponse.Builder
extends PartnerCentralRevenueMeasurementResponse.Builder, SdkPojo, CopyableBuilder<CreateRevenueAttributionResponse.Builder,CreateRevenueAttributionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the newly created revenue attribution.description(String description) The description of the revenue attribution.The unique identifier of the newly created revenue attribution.marketplaceProduct(Consumer<MarketplaceProductSummary.Builder> marketplaceProduct) The associated AWS Marketplace product listing, if set at creation.marketplaceProduct(MarketplaceProductSummary marketplaceProduct) The associated AWS Marketplace product listing, if set at creation.The name of the revenue attribution.The revision of the newly created attribution resource.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.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralrevenuemeasurement.model.PartnerCentralRevenueMeasurementResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The unique identifier of the newly created revenue attribution.
- Parameters:
id- The unique identifier of the newly created revenue attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the newly created revenue attribution.
- Parameters:
arn- The Amazon Resource Name (ARN) of the newly created revenue attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the revenue attribution.
- Parameters:
name- The name of the revenue attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the revenue attribution.
- Parameters:
description- The 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:
-
marketplaceProduct
CreateRevenueAttributionResponse.Builder marketplaceProduct(MarketplaceProductSummary marketplaceProduct) The associated AWS Marketplace product listing, if set at creation.
- Parameters:
marketplaceProduct- The associated AWS Marketplace product listing, if set at creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marketplaceProduct
default CreateRevenueAttributionResponse.Builder marketplaceProduct(Consumer<MarketplaceProductSummary.Builder> marketplaceProduct) The associated AWS Marketplace product listing, if set at creation.
This is a convenience method that creates an instance of theMarketplaceProductSummary.Builderavoiding the need to create one manually viaMarketplaceProductSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomarketplaceProduct(MarketplaceProductSummary).- Parameters:
marketplaceProduct- a consumer that will call methods onMarketplaceProductSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revision
The revision of the newly created attribution resource.
- Parameters:
revision- The revision of the newly created attribution resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-