Class CfnPricingRulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.billingconductor.CfnPricingRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPricingRulePropsMixin>
- Enclosing class:
CfnPricingRulePropsMixin
@Stability(Stable)
public static final class CfnPricingRulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPricingRulePropsMixin>
A fluent builder for
CfnPricingRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbillingEntity(String billingEntity) The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .build()create()create(CfnPropertyMixinOptions options) description(String description) The pricing rule description.modifierPercentage(Number modifierPercentage) A percentage modifier applied on the public pricing rates.The name of a pricing rule.Operation is the specific AWS action covered by this line item.The scope of pricing rule that indicates if it's globally applicable or service-specific.If theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.A map that contains tag keys and tag values that are attached to a pricing rule.The set of tiering configurations for the pricing rule.tiering(IResolvable tiering) The set of tiering configurations for the pricing rule.The type of pricing rule.Usage Type is the unit that each service uses to measure the usage of a specific type of resource.
-
Method Details
-
create
@Stability(Stable) public static CfnPricingRulePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPricingRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPricingRulePropsMixin.Builder.
-
billingEntity
The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .- Parameters:
billingEntity- The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace . This parameter is required.- Returns:
this- See Also:
-
description
The pricing rule description.- Parameters:
description- The pricing rule description. This parameter is required.- Returns:
this- See Also:
-
modifierPercentage
@Stability(Stable) public CfnPricingRulePropsMixin.Builder modifierPercentage(Number modifierPercentage) A percentage modifier applied on the public pricing rates.- Parameters:
modifierPercentage- A percentage modifier applied on the public pricing rates. This parameter is required.- Returns:
this- See Also:
-
name
The name of a pricing rule.- Parameters:
name- The name of a pricing rule. This parameter is required.- Returns:
this- See Also:
-
operation
Operation is the specific AWS action covered by this line item.This describes the specific usage of the line item.
If the
Scopeattribute is set toSKU, this attribute indicates which operation thePricingRuleis modifying. For example, a value ofRunInstances:0202indicates the operation of running an Amazon EC2 instance.- Parameters:
operation- Operation is the specific AWS action covered by this line item. This parameter is required.- Returns:
this- See Also:
-
scope
The scope of pricing rule that indicates if it's globally applicable or service-specific.- Parameters:
scope- The scope of pricing rule that indicates if it's globally applicable or service-specific. This parameter is required.- Returns:
this- See Also:
-
service
If theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.- Parameters:
service- If theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for. This parameter is required.- Returns:
this- See Also:
-
tags
A map that contains tag keys and tag values that are attached to a pricing rule.- Parameters:
tags- A map that contains tag keys and tag values that are attached to a pricing rule. This parameter is required.- Returns:
this- See Also:
-
tiering
The set of tiering configurations for the pricing rule.- Parameters:
tiering- The set of tiering configurations for the pricing rule. This parameter is required.- Returns:
this- See Also:
-
tiering
@Stability(Stable) public CfnPricingRulePropsMixin.Builder tiering(CfnPricingRulePropsMixin.TieringProperty tiering) The set of tiering configurations for the pricing rule.- Parameters:
tiering- The set of tiering configurations for the pricing rule. This parameter is required.- Returns:
this- See Also:
-
type
The type of pricing rule.- Parameters:
type- The type of pricing rule. This parameter is required.- Returns:
this- See Also:
-
usageType
Usage Type is the unit that each service uses to measure the usage of a specific type of resource.- Parameters:
usageType- Usage Type is the unit that each service uses to measure the usage of a specific type of resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPricingRulePropsMixin>- Returns:
- a newly built instance of
CfnPricingRulePropsMixin.
-