Class CfnSubscriptionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pricingplanmanager.CfnSubscriptionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriptionPropsMixin>
- Enclosing class:
CfnSubscriptionPropsMixin
@Stability(Stable)
public static final class CfnSubscriptionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriptionPropsMixin>
A fluent builder for
CfnSubscriptionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) planFamily(String planFamily) The name of the pricing plan family.The tier of the pricing plan.resourceArns(List<String> resourceArns) The ARNs of resources associated with the subscription.usageLevel(String usageLevel)
-
Method Details
-
create
@Stability(Stable) public static CfnSubscriptionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSubscriptionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSubscriptionPropsMixin.Builder.
-
planFamily
The name of the pricing plan family.- Parameters:
planFamily- The name of the pricing plan family. This parameter is required.- Returns:
this- See Also:
-
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.
- Parameters:
planTier- The tier of the pricing plan. This parameter is required.- Returns:
this- See Also:
-
resourceArns
The ARNs of resources associated with the subscription.- Parameters:
resourceArns- The ARNs of resources associated with the subscription. This parameter is required.- Returns:
this- See Also:
-
usageLevel
- Parameters:
usageLevel- This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriptionPropsMixin>- Returns:
- a newly built instance of
CfnSubscriptionPropsMixin.
-