Interface UpdatePricingRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<UpdatePricingRuleRequest.Builder,,UpdatePricingRuleRequest> SdkBuilder<UpdatePricingRuleRequest.Builder,,UpdatePricingRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdatePricingRuleRequest
@Mutable
@NotThreadSafe
public static interface UpdatePricingRuleRequest.Builder
extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<UpdatePricingRuleRequest.Builder,UpdatePricingRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the pricing rule to update.description(String description) The new description for the pricing rule.modifierPercentage(Double modifierPercentage) The new modifier to show pricing plan rates as a percentage.The new name of the pricing rule.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdatePricingRuleRequest.Buildertiering(Consumer<UpdateTieringInput.Builder> tiering) The set of tiering configurations for the pricing rule.tiering(UpdateTieringInput tiering) The set of tiering configurations for the pricing rule.The new pricing rule type.type(PricingRuleType type) The new pricing rule type.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
-
arn
The Amazon Resource Name (ARN) of the pricing rule to update.
- Parameters:
arn- The Amazon Resource Name (ARN) of the pricing rule to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new name of the pricing rule. The name must be unique to each pricing rule.
- Parameters:
name- The new name of the pricing rule. The name must be unique to each pricing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description for the pricing rule.
- Parameters:
description- The new description for the pricing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The new pricing rule type.
- Parameters:
type- The new pricing rule type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The new pricing rule type.
- Parameters:
type- The new pricing rule type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modifierPercentage
The new modifier to show pricing plan rates as a percentage. Your entry will be rounded to the nearest 2 decimal places.
- Parameters:
modifierPercentage- The new modifier to show pricing plan rates as a percentage. Your entry will be rounded to the nearest 2 decimal places.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tiering
The set of tiering configurations for the pricing rule.
- Parameters:
tiering- The set of tiering configurations for the pricing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tiering
The set of tiering configurations for the pricing rule.
This is a convenience method that creates an instance of theUpdateTieringInput.Builderavoiding the need to create one manually viaUpdateTieringInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totiering(UpdateTieringInput).- Parameters:
tiering- a consumer that will call methods onUpdateTieringInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePricingRuleRequest.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
UpdatePricingRuleRequest.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.
-