public static interface UsageLimit.Builder extends SdkPojo, CopyableBuilder<UsageLimit.Builder,UsageLimit>
| Modifier and Type | Method and Description |
|---|---|
UsageLimit.Builder |
amount(Long amount)
The limit amount.
|
UsageLimit.Builder |
breachAction(String breachAction)
The action that Amazon Redshift Serverless takes when the limit is reached.
|
UsageLimit.Builder |
breachAction(UsageLimitBreachAction breachAction)
The action that Amazon Redshift Serverless takes when the limit is reached.
|
UsageLimit.Builder |
period(String period)
The time period that the amount applies to.
|
UsageLimit.Builder |
period(UsageLimitPeriod period)
The time period that the amount applies to.
|
UsageLimit.Builder |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.
|
UsageLimit.Builder |
usageLimitArn(String usageLimitArn)
The Amazon Resource Name (ARN) of the resource associated with the usage limit.
|
UsageLimit.Builder |
usageLimitId(String usageLimitId)
The identifier of the usage limit.
|
UsageLimit.Builder |
usageType(String usageType)
The Amazon Redshift Serverless feature to limit.
|
UsageLimit.Builder |
usageType(UsageLimitUsageType usageType)
The Amazon Redshift Serverless feature to limit.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUsageLimit.Builder amount(Long 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.
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.UsageLimit.Builder breachAction(String breachAction)
The action that Amazon Redshift Serverless takes when the limit is reached.
breachAction - The action that Amazon Redshift Serverless takes when the limit is reached.UsageLimitBreachAction,
UsageLimitBreachActionUsageLimit.Builder breachAction(UsageLimitBreachAction breachAction)
The action that Amazon Redshift Serverless takes when the limit is reached.
breachAction - The action that Amazon Redshift Serverless takes when the limit is reached.UsageLimitBreachAction,
UsageLimitBreachActionUsageLimit.Builder period(String period)
The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
period - The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.UsageLimitPeriod,
UsageLimitPeriodUsageLimit.Builder period(UsageLimitPeriod period)
The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
period - The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.UsageLimitPeriod,
UsageLimitPeriodUsageLimit.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.
resourceArn - The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.UsageLimit.Builder usageLimitArn(String usageLimitArn)
The Amazon Resource Name (ARN) of the resource associated with the usage limit.
usageLimitArn - The Amazon Resource Name (ARN) of the resource associated with the usage limit.UsageLimit.Builder usageLimitId(String usageLimitId)
The identifier of the usage limit.
usageLimitId - The identifier of the usage limit.UsageLimit.Builder usageType(String usageType)
The Amazon Redshift Serverless feature to limit.
usageType - The Amazon Redshift Serverless feature to limit.UsageLimitUsageType,
UsageLimitUsageTypeUsageLimit.Builder usageType(UsageLimitUsageType usageType)
The Amazon Redshift Serverless feature to limit.
usageType - The Amazon Redshift Serverless feature to limit.UsageLimitUsageType,
UsageLimitUsageTypeCopyright © 2022. All rights reserved.