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.Builder
tiering
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.
- Parameters:
modifierPercentage
- The new modifier to show pricing plan rates as a percentage.- 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.Builder
avoiding the need to create one manually viaUpdateTieringInput.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-