Class CfnPricingPlanProps.Builder
java.lang.Object
software.amazon.awscdk.services.billingconductor.CfnPricingPlanProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPricingPlanProps>
- Enclosing interface:
CfnPricingPlanProps
@Stability(Stable)
public static final class CfnPricingPlanProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPricingPlanProps>
A builder for
CfnPricingPlanProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnPricingPlanProps.getDescription()
Sets the value ofCfnPricingPlanProps.getName()
pricingRuleArns
(List<String> pricingRuleArns) Sets the value ofCfnPricingPlanProps.getPricingRuleArns()
Sets the value ofCfnPricingPlanProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnPricingPlanProps.getName()
- Parameters:
name
- The name of a pricing plan. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnPricingPlanProps.getDescription()
- Parameters:
description
- The pricing plan description.- Returns:
this
-
pricingRuleArns
Sets the value ofCfnPricingPlanProps.getPricingRuleArns()
- Parameters:
pricingRuleArns
- ThePricingRuleArns
that are associated with the Pricing Plan.- Returns:
this
-
tags
Sets the value ofCfnPricingPlanProps.getTags()
- Parameters:
tags
- A map that contains tag keys and tag values that are attached to a pricing plan.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPricingPlanProps>
- Returns:
- a new instance of
CfnPricingPlanProps
- Throws:
NullPointerException
- if any required attribute was not provided
-