public static interface UsageLimit.Builder extends SdkPojo, CopyableBuilder<UsageLimit.Builder,UsageLimit>
| Modifier and Type | Method and Description |
|---|---|
UsageLimit.Builder |
amount(Long amount)
The limit amount.
|
UsageLimit.Builder |
breachAction(String breachAction)
The action that Amazon Redshift takes when the limit is reached.
|
UsageLimit.Builder |
breachAction(UsageLimitBreachAction breachAction)
The action that Amazon Redshift takes when the limit is reached.
|
UsageLimit.Builder |
clusterIdentifier(String clusterIdentifier)
The identifier of the cluster with a usage limit.
|
UsageLimit.Builder |
featureType(String featureType)
The Amazon Redshift feature to which the limit applies.
|
UsageLimit.Builder |
featureType(UsageLimitFeatureType featureType)
The Amazon Redshift feature to which the limit applies.
|
UsageLimit.Builder |
limitType(String limitType)
The type of limit.
|
UsageLimit.Builder |
limitType(UsageLimitLimitType limitType)
The type of limit.
|
UsageLimit.Builder |
period(String period)
The time period that the amount applies to.
|
UsageLimit.Builder |
period(UsageLimitPeriod period)
The time period that the amount applies to.
|
UsageLimit.Builder |
tags(Collection<Tag> tags)
A list of tag instances.
|
UsageLimit.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
|
UsageLimit.Builder |
tags(Tag... tags)
A list of tag instances.
|
UsageLimit.Builder |
usageLimitId(String usageLimitId)
The identifier of the usage limit.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUsageLimit.Builder usageLimitId(String usageLimitId)
The identifier of the usage limit.
usageLimitId - The identifier of the usage limit.UsageLimit.Builder clusterIdentifier(String clusterIdentifier)
The identifier of the cluster with a usage limit.
clusterIdentifier - The identifier of the cluster with a usage limit.UsageLimit.Builder featureType(String featureType)
The Amazon Redshift feature to which the limit applies.
featureType - The Amazon Redshift feature to which the limit applies.UsageLimitFeatureType,
UsageLimitFeatureTypeUsageLimit.Builder featureType(UsageLimitFeatureType featureType)
The Amazon Redshift feature to which the limit applies.
featureType - The Amazon Redshift feature to which the limit applies.UsageLimitFeatureType,
UsageLimitFeatureTypeUsageLimit.Builder limitType(String limitType)
The type of limit. Depending on the feature type, this can be based on a time duration or data size.
limitType - The type of limit. Depending on the feature type, this can be based on a time duration or data size.UsageLimitLimitType,
UsageLimitLimitTypeUsageLimit.Builder limitType(UsageLimitLimitType limitType)
The type of limit. Depending on the feature type, this can be based on a time duration or data size.
limitType - The type of limit. Depending on the feature type, this can be based on a time duration or data size.UsageLimitLimitType,
UsageLimitLimitTypeUsageLimit.Builder amount(Long amount)
The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
amount - The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes
(TB).UsageLimit.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,
UsageLimitPeriodUsageLimit.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,
UsageLimitPeriodUsageLimit.Builder breachAction(String breachAction)
The action that Amazon Redshift takes when the limit is reached. Possible values are:
log - To log an event in a system table. The default is log.
emit-metric - To emit CloudWatch metrics.
disable - To disable the feature until the next usage period begins.
breachAction - The action that Amazon Redshift takes when the limit is reached. Possible values are:
log - To log an event in a system table. The default is log.
emit-metric - To emit CloudWatch metrics.
disable - To disable the feature until the next usage period begins.
UsageLimitBreachAction,
UsageLimitBreachActionUsageLimit.Builder breachAction(UsageLimitBreachAction breachAction)
The action that Amazon Redshift takes when the limit is reached. Possible values are:
log - To log an event in a system table. The default is log.
emit-metric - To emit CloudWatch metrics.
disable - To disable the feature until the next usage period begins.
breachAction - The action that Amazon Redshift takes when the limit is reached. Possible values are:
log - To log an event in a system table. The default is log.
emit-metric - To emit CloudWatch metrics.
disable - To disable the feature until the next usage period begins.
UsageLimitBreachAction,
UsageLimitBreachActionUsageLimit.Builder tags(Collection<Tag> tags)
A list of tag instances.
tags - A list of tag instances.UsageLimit.Builder tags(Tag... tags)
A list of tag instances.
tags - A list of tag instances.UsageLimit.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) Copyright © 2023. All rights reserved.