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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
arnThe 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.
 
- 
nameThe 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.
 
- 
descriptionThe 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.
 
- 
typeThe 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:
 
- 
typeThe 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:
 
- 
modifierPercentageThe 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.
 
- 
tieringThe 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.
 
- 
tieringThe 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 on- UpdateTieringInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationUpdatePricingRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdatePricingRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-