Interface UsageLimit.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UsageLimit.Builder,
,UsageLimit> SdkBuilder<UsageLimit.Builder,
,UsageLimit> SdkPojo
- Enclosing class:
UsageLimit
-
Method Summary
Modifier and TypeMethodDescriptionThe limit amount.breachAction
(String breachAction) The action that Amazon Redshift Serverless takes when the limit is reached.breachAction
(UsageLimitBreachAction breachAction) The action that Amazon Redshift Serverless takes when the limit is reached.The time period that the amount applies to.period
(UsageLimitPeriod period) The time period that the amount applies to.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.usageLimitArn
(String usageLimitArn) The Amazon Resource Name (ARN) of the resource associated with the usage limit.usageLimitId
(String usageLimitId) The identifier of the usage limit.The Amazon Redshift Serverless feature to limit.usageType
(UsageLimitUsageType usageType) The Amazon Redshift Serverless feature to limit.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
amount
The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.
- Parameters:
amount
- The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
breachAction
The action that Amazon Redshift Serverless takes when the limit is reached.
- Parameters:
breachAction
- The action that Amazon Redshift Serverless takes when the limit is reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
breachAction
The action that Amazon Redshift Serverless takes when the limit is reached.
- Parameters:
breachAction
- The action that Amazon Redshift Serverless takes when the limit is reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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. A weekly period begins on Sunday. The default is monthly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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. A weekly period begins on Sunday. The default is monthly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceArn
The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimitArn
The Amazon Resource Name (ARN) of the resource associated with the usage limit.
- Parameters:
usageLimitArn
- The Amazon Resource Name (ARN) of the resource associated with the usage limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimitId
The identifier of the usage limit.
- Parameters:
usageLimitId
- The identifier of the usage limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The Amazon Redshift Serverless feature to limit.
- Parameters:
usageType
- The Amazon Redshift Serverless feature to limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usageType
The Amazon Redshift Serverless feature to limit.
- Parameters:
usageType
- The Amazon Redshift Serverless feature to limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-