@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 String usageLimitId()
The identifier of the usage limit to modify.
public Long amount()
The new limit amount. For more information about this parameter, see UsageLimit.
public 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 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.