Class CfnPricingRule.Builder
java.lang.Object
software.amazon.awscdk.services.billingconductor.CfnPricingRule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPricingRule>
- Enclosing class:
CfnPricingRule
@Stability(Stable)
public static final class CfnPricingRule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPricingRule>
A fluent builder for
CfnPricingRule
.-
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()
static CfnPricingRule.Builder
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 theScope
attribute isSERVICE
, this attribute indicates which service thePricingRule
is applicable for.A map that contains tag keys and tag values that are attached to a pricing rule.tiering
(IResolvable tiering) The set of tiering configurations for the pricing rule.tiering
(CfnPricingRule.TieringProperty 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 CfnPricingRule.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPricingRule.Builder
.
-
name
The name of a pricing rule.- Parameters:
name
- The name of a pricing rule. 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:
-
type
The type of pricing rule.- Parameters:
type
- The type of pricing rule. This parameter is required.- Returns:
this
- See Also:
-
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
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:
-
operation
Operation is the specific AWS action covered by this line item.This describes the specific usage of the line item.
If the
Scope
attribute is set toSKU
, this attribute indicates which operation thePricingRule
is modifying. For example, a value ofRunInstances:0202
indicates 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:
-
service
If theScope
attribute isSERVICE
, this attribute indicates which service thePricingRule
is applicable for.- Parameters:
service
- If theScope
attribute isSERVICE
, this attribute indicates which service thePricingRule
is 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
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:
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPricingRule>
- Returns:
- a newly built instance of
CfnPricingRule
.
-