Interface UpdateUsageLimitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateUsageLimitRequest.Builder,,UpdateUsageLimitRequest> RedshiftServerlessRequest.Builder,SdkBuilder<UpdateUsageLimitRequest.Builder,,UpdateUsageLimitRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateUsageLimitRequest
public static interface UpdateUsageLimitRequest.Builder
extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<UpdateUsageLimitRequest.Builder,UpdateUsageLimitRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe new limit amount.breachAction(String breachAction) The new action that Amazon Redshift Serverless takes when the limit is reached.breachAction(UsageLimitBreachAction breachAction) The new action that Amazon Redshift Serverless takes when the limit is reached.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.usageLimitId(String usageLimitId) The identifier of the usage limit to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
amount
The new limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.
- Parameters:
amount- The new limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
breachAction
The new action that Amazon Redshift Serverless takes when the limit is reached.
- Parameters:
breachAction- The new 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 new action that Amazon Redshift Serverless takes when the limit is reached.
- Parameters:
breachAction- The new 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:
-
usageLimitId
The identifier of the usage limit to update.
- Parameters:
usageLimitId- The identifier of the usage limit to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateUsageLimitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateUsageLimitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-