@Generated(value="software.amazon.awssdk:codegen") public final class UpdateUsageLimitRequest extends RedshiftServerlessRequest implements ToCopyableBuilder<UpdateUsageLimitRequest.Builder,UpdateUsageLimitRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateUsageLimitRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Long |
amount()
The new limit amount.
|
UsageLimitBreachAction |
breachAction()
The new action that Amazon Redshift Serverless takes when the limit is reached.
|
String |
breachActionAsString()
The new action that Amazon Redshift Serverless takes when the limit is reached.
|
static UpdateUsageLimitRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateUsageLimitRequest.Builder> |
serializableBuilderClass() |
UpdateUsageLimitRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
usageLimitId()
The identifier of the usage limit to update.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long amount()
The new 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.
public final UsageLimitBreachAction breachAction()
The new action that Amazon Redshift Serverless takes when the limit is reached.
If the service returns an enum value that is not available in the current SDK version, breachAction will
return UsageLimitBreachAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from breachActionAsString().
UsageLimitBreachActionpublic final String breachActionAsString()
The new action that Amazon Redshift Serverless takes when the limit is reached.
If the service returns an enum value that is not available in the current SDK version, breachAction will
return UsageLimitBreachAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from breachActionAsString().
UsageLimitBreachActionpublic final String usageLimitId()
The identifier of the usage limit to update.
public UpdateUsageLimitRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateUsageLimitRequest.Builder,UpdateUsageLimitRequest>toBuilder in class RedshiftServerlessRequestpublic static UpdateUsageLimitRequest.Builder builder()
public static Class<? extends UpdateUsageLimitRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.