Interface CreateUsageLimitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateUsageLimitRequest.Builder,
,CreateUsageLimitRequest> RedshiftServerlessRequest.Builder
,SdkBuilder<CreateUsageLimitRequest.Builder,
,CreateUsageLimitRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateUsageLimitRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe limit amount.breachAction
(String breachAction) The action that Amazon Redshift Serverless takes when the limit is reached.breachAction
(UsageLimitBreachAction breachAction) The 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.The time period that the amount applies to.period
(UsageLimitPeriod period) The time period that the amount applies to.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.The type of Amazon Redshift Serverless usage to create a usage limit for.usageType
(UsageLimitUsageType usageType) The type of Amazon Redshift Serverless usage to create a usage limit for.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, sdkFieldNameToField, sdkFields
-
Method Details
-
amount
The 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 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 action that Amazon Redshift Serverless takes when the limit is reached. The default is log.
- Parameters:
breachAction
- The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
breachAction
The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.
- Parameters:
breachAction
- The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-
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:
-
resourceArn
The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The type of Amazon Redshift Serverless usage to create a usage limit for.
- Parameters:
usageType
- The type of Amazon Redshift Serverless usage to create a usage limit for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usageType
The type of Amazon Redshift Serverless usage to create a usage limit for.
- Parameters:
usageType
- The type of Amazon Redshift Serverless usage to create a usage limit for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateUsageLimitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateUsageLimitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-