Interface CreateUsageLimitRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateUsageLimitRequest.Builder,CreateUsageLimitRequest>,RedshiftServerlessRequest.Builder,SdkBuilder<CreateUsageLimitRequest.Builder,CreateUsageLimitRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateUsageLimitRequest
public static interface CreateUsageLimitRequest.Builder extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateUsageLimitRequest.Builder,CreateUsageLimitRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateUsageLimitRequest.Builderamount(Long amount)The limit amount.CreateUsageLimitRequest.BuilderbreachAction(String breachAction)The action that Amazon Redshift Serverless takes when the limit is reached.CreateUsageLimitRequest.BuilderbreachAction(UsageLimitBreachAction breachAction)The action that Amazon Redshift Serverless takes when the limit is reached.CreateUsageLimitRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateUsageLimitRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateUsageLimitRequest.Builderperiod(String period)The time period that the amount applies to.CreateUsageLimitRequest.Builderperiod(UsageLimitPeriod period)The time period that the amount applies to.CreateUsageLimitRequest.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.CreateUsageLimitRequest.BuilderusageType(String usageType)The type of Amazon Redshift Serverless usage to create a usage limit for.CreateUsageLimitRequest.BuilderusageType(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, sdkFields
-
-
-
-
Method Detail
-
amount
CreateUsageLimitRequest.Builder amount(Long 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
CreateUsageLimitRequest.Builder breachAction(String 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:
UsageLimitBreachAction,UsageLimitBreachAction
-
breachAction
CreateUsageLimitRequest.Builder breachAction(UsageLimitBreachAction 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:
UsageLimitBreachAction,UsageLimitBreachAction
-
period
CreateUsageLimitRequest.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
CreateUsageLimitRequest.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
CreateUsageLimitRequest.Builder resourceArn(String 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
CreateUsageLimitRequest.Builder usageType(String 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:
UsageLimitUsageType,UsageLimitUsageType
-
usageType
CreateUsageLimitRequest.Builder usageType(UsageLimitUsageType 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:
UsageLimitUsageType,UsageLimitUsageType
-
overrideConfiguration
CreateUsageLimitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateUsageLimitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-