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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateUsageLimitRequest.Builderamount(Long amount)The new limit amount.UpdateUsageLimitRequest.BuilderbreachAction(String breachAction)The new action that Amazon Redshift Serverless takes when the limit is reached.UpdateUsageLimitRequest.BuilderbreachAction(UsageLimitBreachAction breachAction)The new action that Amazon Redshift Serverless takes when the limit is reached.UpdateUsageLimitRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateUsageLimitRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateUsageLimitRequest.BuilderusageLimitId(String usageLimitId)The identifier of the usage limit to update.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest.Builder
build
-
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
UpdateUsageLimitRequest.Builder amount(Long 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
UpdateUsageLimitRequest.Builder breachAction(String 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:
UsageLimitBreachAction,UsageLimitBreachAction
-
breachAction
UpdateUsageLimitRequest.Builder breachAction(UsageLimitBreachAction 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:
UsageLimitBreachAction,UsageLimitBreachAction
-
usageLimitId
UpdateUsageLimitRequest.Builder usageLimitId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateUsageLimitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-