Interface ModifyUsageLimitRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyUsageLimitRequest.Builder,ModifyUsageLimitRequest>
,RedshiftRequest.Builder
,SdkBuilder<ModifyUsageLimitRequest.Builder,ModifyUsageLimitRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyUsageLimitRequest
public static interface ModifyUsageLimitRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<ModifyUsageLimitRequest.Builder,ModifyUsageLimitRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyUsageLimitRequest.Builder
amount(Long amount)
The new limit amount.ModifyUsageLimitRequest.Builder
breachAction(String breachAction)
The new action that Amazon Redshift takes when the limit is reached.ModifyUsageLimitRequest.Builder
breachAction(UsageLimitBreachAction breachAction)
The new action that Amazon Redshift takes when the limit is reached.ModifyUsageLimitRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyUsageLimitRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ModifyUsageLimitRequest.Builder
usageLimitId(String usageLimitId)
The identifier of the usage limit to modify.-
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.redshift.model.RedshiftRequest.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
-
usageLimitId
ModifyUsageLimitRequest.Builder usageLimitId(String usageLimitId)
The identifier of the usage limit to modify.
- Parameters:
usageLimitId
- The identifier of the usage limit to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amount
ModifyUsageLimitRequest.Builder amount(Long amount)
The new limit amount. For more information about this parameter, see UsageLimit.
- Parameters:
amount
- The new limit amount. For more information about this parameter, see UsageLimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
breachAction
ModifyUsageLimitRequest.Builder breachAction(String breachAction)
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
- Parameters:
breachAction
- The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UsageLimitBreachAction
,UsageLimitBreachAction
-
breachAction
ModifyUsageLimitRequest.Builder breachAction(UsageLimitBreachAction breachAction)
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
- Parameters:
breachAction
- The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UsageLimitBreachAction
,UsageLimitBreachAction
-
overrideConfiguration
ModifyUsageLimitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyUsageLimitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-