Interface UpdatePricingRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<UpdatePricingRuleRequest.Builder,UpdatePricingRuleRequest>,SdkBuilder<UpdatePricingRuleRequest.Builder,UpdatePricingRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdatePricingRuleRequest
public static interface UpdatePricingRuleRequest.Builder extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<UpdatePricingRuleRequest.Builder,UpdatePricingRuleRequest>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
arn
UpdatePricingRuleRequest.Builder arn(String 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
UpdatePricingRuleRequest.Builder name(String 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
UpdatePricingRuleRequest.Builder description(String 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
UpdatePricingRuleRequest.Builder type(String 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:
PricingRuleType,PricingRuleType
-
type
UpdatePricingRuleRequest.Builder type(PricingRuleType 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:
PricingRuleType,PricingRuleType
-
modifierPercentage
UpdatePricingRuleRequest.Builder modifierPercentage(Double 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
UpdatePricingRuleRequest.Builder tiering(UpdateTieringInput 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
default UpdatePricingRuleRequest.Builder tiering(Consumer<UpdateTieringInput.Builder> 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:
tiering(UpdateTieringInput)
-
overrideConfiguration
UpdatePricingRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePricingRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-