Interface CreatePricingPlanRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<CreatePricingPlanRequest.Builder,,CreatePricingPlanRequest> SdkBuilder<CreatePricingPlanRequest.Builder,,CreatePricingPlanRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePricingPlanRequest
@Mutable
@NotThreadSafe
public static interface CreatePricingPlanRequest.Builder
extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<CreatePricingPlanRequest.Builder,CreatePricingPlanRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you specify to ensure idempotency of the request.description(String description) The description of the pricing plan.The name of the pricing plan.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pricingRuleArns(String... pricingRuleArns) A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.pricingRuleArns(Collection<String> pricingRuleArns) A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.A map that contains tag keys and tag values that are attached to a pricing plan.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.
- Parameters:
clientToken- A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the pricing plan. The names must be unique to each pricing plan.
- Parameters:
name- The name of the pricing plan. The names must be unique to each pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the pricing plan.
- Parameters:
description- The description of the pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingRuleArns
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
- Parameters:
pricingRuleArns- A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingRuleArns
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
- Parameters:
pricingRuleArns- A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map that contains tag keys and tag values that are attached to a pricing plan.
- Parameters:
tags- A map that contains tag keys and tag values that are attached to a pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePricingPlanRequest.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
CreatePricingPlanRequest.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.
-