@Generated(value="software.amazon.awssdk:codegen") public final class ModifyUsageLimitRequest extends RedshiftRequest implements ToCopyableBuilder<ModifyUsageLimitRequest.Builder,ModifyUsageLimitRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyUsageLimitRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Long |
amount()
The new limit amount.
|
UsageLimitBreachAction |
breachAction()
The new action that Amazon Redshift takes when the limit is reached.
|
String |
breachActionAsString()
The new action that Amazon Redshift takes when the limit is reached.
|
static ModifyUsageLimitRequest.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 ModifyUsageLimitRequest.Builder> |
serializableBuilderClass() |
ModifyUsageLimitRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
usageLimitId()
The identifier of the usage limit to modify.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String usageLimitId()
The identifier of the usage limit to modify.
public final Long amount()
The new limit amount. For more information about this parameter, see UsageLimit.
public final UsageLimitBreachAction breachAction()
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
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 takes when the limit is reached. For more information about this parameter, see UsageLimit.
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 ModifyUsageLimitRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyUsageLimitRequest.Builder,ModifyUsageLimitRequest>toBuilder in class RedshiftRequestpublic static ModifyUsageLimitRequest.Builder builder()
public static Class<? extends ModifyUsageLimitRequest.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 © 2021. All rights reserved.