Class CfnUsageLimitPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnUsageLimitPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUsageLimitPropsMixin>
- Enclosing class:
CfnUsageLimitPropsMixin
@Stability(Stable)
public static final class CfnUsageLimitPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUsageLimitPropsMixin>
A fluent builder for
CfnUsageLimitPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe limit amount.breachAction(String breachAction) The action that Amazon Redshift takes when the limit is reached.build()clusterIdentifier(String clusterIdentifier) The identifier of the cluster that you want to limit usage.create()create(CfnPropertyMixinOptions options) featureType(String featureType) The Amazon Redshift feature that you want to limit.The type of limit.The time period that the amount applies to.A list of tag instances.
-
Method Details
-
create
@Stability(Stable) public static CfnUsageLimitPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnUsageLimitPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnUsageLimitPropsMixin.Builder.
-
amount
The limit amount.If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
- Parameters:
amount- The limit amount. This parameter is required.- Returns:
this- See Also:
-
breachAction
The action that Amazon Redshift takes when the limit is reached.The default is log.
- Parameters:
breachAction- The action that Amazon Redshift takes when the limit is reached. This parameter is required.- Returns:
this- See Also:
-
clusterIdentifier
@Stability(Stable) public CfnUsageLimitPropsMixin.Builder clusterIdentifier(String clusterIdentifier) The identifier of the cluster that you want to limit usage.- Parameters:
clusterIdentifier- The identifier of the cluster that you want to limit usage. This parameter is required.- Returns:
this- See Also:
-
featureType
The Amazon Redshift feature that you want to limit.- Parameters:
featureType- The Amazon Redshift feature that you want to limit. This parameter is required.- Returns:
this- See Also:
-
limitType
The type of limit.Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time. If FeatureType is cross-region-datasharing, then LimitType must be data-scanned.
- Parameters:
limitType- The type of limit. This parameter is required.- Returns:
this- See Also:
-
period
The time period that the amount applies to.A weekly period begins on Sunday. The default is monthly.
- Parameters:
period- The time period that the amount applies to. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tag instances.- Parameters:
tags- A list of tag instances. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUsageLimitPropsMixin>- Returns:
- a newly built instance of
CfnUsageLimitPropsMixin.
-