Class CfnSubscription.Builder
java.lang.Object
software.amazon.awscdk.services.pricingplanmanager.CfnSubscription.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscription>
- Enclosing class:
CfnSubscription
@Stability(Stable)
public static final class CfnSubscription.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscription>
A fluent builder for
CfnSubscription.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSubscription.BuilderplanFamily(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 CfnSubscription.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSubscription.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.Upgrades take effect immediately. However, rolling back an upgrade does not revert billing instantly; it schedules a downgrade to the end of the current billing period, and the higher-tier charge applies for the remainder of that month. While a downgrade is scheduled, the CurrentPlanTier property reports the tier currently being billed.
- 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<CfnSubscription>- Returns:
- a newly built instance of
CfnSubscription.
-