Interface UsageLimit.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UsageLimit.Builder,UsageLimit>,SdkBuilder<UsageLimit.Builder,UsageLimit>,SdkPojo
- Enclosing class:
- UsageLimit
public static interface UsageLimit.Builder extends SdkPojo, CopyableBuilder<UsageLimit.Builder,UsageLimit>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsageLimit.Builderamount(Long amount)The limit amount.UsageLimit.BuilderbreachAction(String breachAction)The action that Amazon Redshift Serverless takes when the limit is reached.UsageLimit.BuilderbreachAction(UsageLimitBreachAction breachAction)The action that Amazon Redshift Serverless takes when the limit is reached.UsageLimit.Builderperiod(String period)The time period that the amount applies to.UsageLimit.Builderperiod(UsageLimitPeriod period)The time period that the amount applies to.UsageLimit.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.UsageLimit.BuilderusageLimitArn(String usageLimitArn)The Amazon Resource Name (ARN) of the resource associated with the usage limit.UsageLimit.BuilderusageLimitId(String usageLimitId)The identifier of the usage limit.UsageLimit.BuilderusageType(String usageType)The Amazon Redshift Serverless feature to limit.UsageLimit.BuilderusageType(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 Detail
-
amount
UsageLimit.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.
- 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
UsageLimit.Builder breachAction(String 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:
UsageLimitBreachAction,UsageLimitBreachAction
-
breachAction
UsageLimit.Builder breachAction(UsageLimitBreachAction 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:
UsageLimitBreachAction,UsageLimitBreachAction
-
period
UsageLimit.Builder period(String 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:
UsageLimitPeriod,UsageLimitPeriod
-
period
UsageLimit.Builder period(UsageLimitPeriod 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:
UsageLimitPeriod,UsageLimitPeriod
-
resourceArn
UsageLimit.Builder resourceArn(String 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
UsageLimit.Builder usageLimitArn(String 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
UsageLimit.Builder usageLimitId(String 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
UsageLimit.Builder usageType(String 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:
UsageLimitUsageType,UsageLimitUsageType
-
usageType
UsageLimit.Builder usageType(UsageLimitUsageType 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:
UsageLimitUsageType,UsageLimitUsageType
-
-