Class CfnSubscriptionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pricingplanmanager.CfnSubscriptionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriptionMixinProps>
- Enclosing interface:
CfnSubscriptionMixinProps
@Stability(Stable)
public static final class CfnSubscriptionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriptionMixinProps>
A builder for
CfnSubscriptionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.planFamily(String planFamily) Sets the value ofCfnSubscriptionMixinProps.getPlanFamily()Sets the value ofCfnSubscriptionMixinProps.getPlanTier()resourceArns(List<String> resourceArns) Sets the value ofCfnSubscriptionMixinProps.getResourceArns()usageLevel(String usageLevel) Sets the value ofCfnSubscriptionMixinProps.getUsageLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
planFamily
Sets the value ofCfnSubscriptionMixinProps.getPlanFamily()- Parameters:
planFamily- The name of the pricing plan family.- Returns:
this
-
planTier
Sets the value ofCfnSubscriptionMixinProps.getPlanTier()- Parameters:
planTier- The tier of the pricing plan. CloudFormation does not change the tier of an existing subscription; a stack update that changes the tier, upgrading or downgrading it, is rejected.- Returns:
this
-
resourceArns
Sets the value ofCfnSubscriptionMixinProps.getResourceArns()- Parameters:
resourceArns- The ARNs of resources associated with the subscription.- Returns:
this
-
usageLevel
Sets the value ofCfnSubscriptionMixinProps.getUsageLevel()- Parameters:
usageLevel- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriptionMixinProps>- Returns:
- a new instance of
CfnSubscriptionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-