Class CfnPricingPlanMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.billingconductor.CfnPricingPlanMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPricingPlanMixinProps>
- Enclosing interface:
CfnPricingPlanMixinProps
@Stability(Stable)
public static final class CfnPricingPlanMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPricingPlanMixinProps>
A builder for
CfnPricingPlanMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnPricingPlanMixinProps.getDescription()Sets the value ofCfnPricingPlanMixinProps.getName()pricingRuleArns(List<String> pricingRuleArns) Sets the value ofCfnPricingPlanMixinProps.getPricingRuleArns()Sets the value ofCfnPricingPlanMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnPricingPlanMixinProps.getDescription()- Parameters:
description- The pricing plan description.- Returns:
this
-
name
Sets the value ofCfnPricingPlanMixinProps.getName()- Parameters:
name- The name of a pricing plan.- Returns:
this
-
pricingRuleArns
@Stability(Stable) public CfnPricingPlanMixinProps.Builder pricingRuleArns(List<String> pricingRuleArns) Sets the value ofCfnPricingPlanMixinProps.getPricingRuleArns()- Parameters:
pricingRuleArns- ThePricingRuleArnsthat are associated with the Pricing Plan.- Returns:
this
-
tags
Sets the value ofCfnPricingPlanMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnPricingPlanMixinProps>- Returns:
- a new instance of
CfnPricingPlanMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-