public static interface CreateUsageLimitRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<CreateUsageLimitRequest.Builder,CreateUsageLimitRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateUsageLimitRequest.Builder clusterIdentifier(String clusterIdentifier)
The identifier of the cluster that you want to limit usage.
clusterIdentifier - The identifier of the cluster that you want to limit usage.CreateUsageLimitRequest.Builder featureType(String featureType)
The Amazon Redshift feature that you want to limit.
featureType - The Amazon Redshift feature that you want to limit.UsageLimitFeatureType,
UsageLimitFeatureTypeCreateUsageLimitRequest.Builder featureType(UsageLimitFeatureType featureType)
The Amazon Redshift feature that you want to limit.
featureType - The Amazon Redshift feature that you want to limit.UsageLimitFeatureType,
UsageLimitFeatureTypeCreateUsageLimitRequest.Builder limitType(String limitType)
The type of limit. Depending on the feature type, this can be based on a time duration or data size. If
FeatureType is spectrum, then LimitType must be
data-scanned. If FeatureType is concurrency-scaling, then
LimitType must be time. If FeatureType is
cross-region-datasharing, then LimitType must be data-scanned.
limitType - The type of limit. Depending on the feature type, this can be based on a time duration or data size.
If FeatureType is spectrum, then LimitType must be
data-scanned. If FeatureType is concurrency-scaling, then
LimitType must be time. If FeatureType is
cross-region-datasharing, then LimitType must be data-scanned.UsageLimitLimitType,
UsageLimitLimitTypeCreateUsageLimitRequest.Builder limitType(UsageLimitLimitType limitType)
The type of limit. Depending on the feature type, this can be based on a time duration or data size. If
FeatureType is spectrum, then LimitType must be
data-scanned. If FeatureType is concurrency-scaling, then
LimitType must be time. If FeatureType is
cross-region-datasharing, then LimitType must be data-scanned.
limitType - The type of limit. Depending on the feature type, this can be based on a time duration or data size.
If FeatureType is spectrum, then LimitType must be
data-scanned. If FeatureType is concurrency-scaling, then
LimitType must be time. If FeatureType is
cross-region-datasharing, then LimitType must be data-scanned.UsageLimitLimitType,
UsageLimitLimitTypeCreateUsageLimitRequest.Builder amount(Long amount)
The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
amount - The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes
(TB). The value must be a positive number.CreateUsageLimitRequest.Builder period(String period)
The time period that the amount applies to. A weekly period begins on Sunday. The default is
monthly.
period - The time period that the amount applies to. A weekly period begins on Sunday. The default
is monthly.UsageLimitPeriod,
UsageLimitPeriodCreateUsageLimitRequest.Builder period(UsageLimitPeriod period)
The time period that the amount applies to. A weekly period begins on Sunday. The default is
monthly.
period - The time period that the amount applies to. A weekly period begins on Sunday. The default
is monthly.UsageLimitPeriod,
UsageLimitPeriodCreateUsageLimitRequest.Builder breachAction(String breachAction)
The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.
breachAction - The action that Amazon Redshift takes when the limit is reached. The default is log. For more
information about this parameter, see UsageLimit.UsageLimitBreachAction,
UsageLimitBreachActionCreateUsageLimitRequest.Builder breachAction(UsageLimitBreachAction breachAction)
The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.
breachAction - The action that Amazon Redshift takes when the limit is reached. The default is log. For more
information about this parameter, see UsageLimit.UsageLimitBreachAction,
UsageLimitBreachActionCreateUsageLimitRequest.Builder tags(Collection<Tag> tags)
A list of tag instances.
tags - A list of tag instances.CreateUsageLimitRequest.Builder tags(Tag... tags)
A list of tag instances.
tags - A list of tag instances.CreateUsageLimitRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateUsageLimitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateUsageLimitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.