@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyUsageLimitRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyUsageLimitRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyUsageLimitRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getAmount()
The new limit amount.
|
String |
getBreachAction()
The new action that Amazon Redshift takes when the limit is reached.
|
String |
getUsageLimitId()
The identifier of the usage limit to modify.
|
int |
hashCode() |
void |
setAmount(Long amount)
The new limit amount.
|
void |
setBreachAction(String breachAction)
The new action that Amazon Redshift takes when the limit is reached.
|
void |
setUsageLimitId(String usageLimitId)
The identifier of the usage limit to modify.
|
String |
toString()
Returns a string representation of this object.
|
ModifyUsageLimitRequest |
withAmount(Long amount)
The new limit amount.
|
ModifyUsageLimitRequest |
withBreachAction(String breachAction)
The new action that Amazon Redshift takes when the limit is reached.
|
ModifyUsageLimitRequest |
withBreachAction(UsageLimitBreachAction breachAction)
The new action that Amazon Redshift takes when the limit is reached.
|
ModifyUsageLimitRequest |
withUsageLimitId(String usageLimitId)
The identifier of the usage limit to modify.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUsageLimitId(String usageLimitId)
The identifier of the usage limit to modify.
usageLimitId
- The identifier of the usage limit to modify.public String getUsageLimitId()
The identifier of the usage limit to modify.
public ModifyUsageLimitRequest withUsageLimitId(String usageLimitId)
The identifier of the usage limit to modify.
usageLimitId
- The identifier of the usage limit to modify.public void setAmount(Long amount)
The new limit amount. For more information about this parameter, see UsageLimit.
amount
- The new limit amount. For more information about this parameter, see UsageLimit.public Long getAmount()
The new limit amount. For more information about this parameter, see UsageLimit.
public ModifyUsageLimitRequest withAmount(Long amount)
The new limit amount. For more information about this parameter, see UsageLimit.
amount
- The new limit amount. For more information about this parameter, see UsageLimit.public void setBreachAction(String breachAction)
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
breachAction
- The new action that Amazon Redshift takes when the limit is reached. For more information about this
parameter, see UsageLimit.UsageLimitBreachAction
public String getBreachAction()
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
UsageLimitBreachAction
public ModifyUsageLimitRequest withBreachAction(String breachAction)
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
breachAction
- The new action that Amazon Redshift takes when the limit is reached. For more information about this
parameter, see UsageLimit.UsageLimitBreachAction
public ModifyUsageLimitRequest withBreachAction(UsageLimitBreachAction breachAction)
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
breachAction
- The new action that Amazon Redshift takes when the limit is reached. For more information about this
parameter, see UsageLimit.UsageLimitBreachAction
public String toString()
toString
in class Object
Object.toString()
public ModifyUsageLimitRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()