Class CfnPricingPlan.Builder
java.lang.Object
software.amazon.awscdk.services.billingconductor.CfnPricingPlan.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPricingPlan>
- Enclosing class:
CfnPricingPlan
@Stability(Stable)
public static final class CfnPricingPlan.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPricingPlan>
A fluent builder for
CfnPricingPlan
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnPricingPlan.Builder
description
(String description) The pricing plan description.The name of a pricing plan.pricingRuleArns
(List<String> pricingRuleArns) ThePricingRuleArns
that are associated with the Pricing Plan.A map that contains tag keys and tag values that are attached to a pricing plan.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnPricingPlan.Builder
.
-
name
The name of a pricing plan.- Parameters:
name
- The name of a pricing plan. This parameter is required.- Returns:
this
-
description
The pricing plan description.- Parameters:
description
- The pricing plan description. This parameter is required.- Returns:
this
-
pricingRuleArns
ThePricingRuleArns
that are associated with the Pricing Plan.- Parameters:
pricingRuleArns
- ThePricingRuleArns
that are associated with the Pricing Plan. This parameter is required.- Returns:
this
-
tags
A map that contains tag keys and tag values that are attached to a pricing plan.- Parameters:
tags
- A map that contains tag keys and tag values that are attached to a pricing plan. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPricingPlan>
- Returns:
- a newly built instance of
CfnPricingPlan
.
-