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 Details

    • create

      @Stability(Stable) public static CfnPricingPlan.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnPricingPlan.Builder.
    • name

      @Stability(Stable) public CfnPricingPlan.Builder name(String name)
      The name of a pricing plan.

      Parameters:
      name - The name of a pricing plan. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnPricingPlan.Builder description(String description)
      The pricing plan description.

      Parameters:
      description - The pricing plan description. This parameter is required.
      Returns:
      this
    • pricingRuleArns

      @Stability(Stable) public CfnPricingPlan.Builder pricingRuleArns(List<String> pricingRuleArns)
      The PricingRuleArns that are associated with the Pricing Plan.

      Parameters:
      pricingRuleArns - The PricingRuleArns that are associated with the Pricing Plan. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnPricingPlan.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnPricingPlan build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPricingPlan>
      Returns:
      a newly built instance of CfnPricingPlan.