@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateUsageLimitRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateUsageLimitRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateUsageLimitRequest |
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 Serverless takes when the limit is reached.
|
String |
getUsageLimitId()
The identifier of the usage limit to update.
|
int |
hashCode() |
void |
setAmount(Long amount)
The new limit amount.
|
void |
setBreachAction(String breachAction)
The new action that Amazon Redshift Serverless takes when the limit is reached.
|
void |
setUsageLimitId(String usageLimitId)
The identifier of the usage limit to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateUsageLimitRequest |
withAmount(Long amount)
The new limit amount.
|
UpdateUsageLimitRequest |
withBreachAction(String breachAction)
The new action that Amazon Redshift Serverless takes when the limit is reached.
|
UpdateUsageLimitRequest |
withBreachAction(UsageLimitBreachAction breachAction)
The new action that Amazon Redshift Serverless takes when the limit is reached.
|
UpdateUsageLimitRequest |
withUsageLimitId(String usageLimitId)
The identifier of the usage limit to update.
|
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, withSdkRequestTimeoutpublic void setAmount(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.
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 Long getAmount()
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 UpdateUsageLimitRequest withAmount(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.
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 void setBreachAction(String breachAction)
The new action that Amazon Redshift Serverless takes when the limit is reached.
breachAction - The new action that Amazon Redshift Serverless takes when the limit is reached.UsageLimitBreachActionpublic String getBreachAction()
The new action that Amazon Redshift Serverless takes when the limit is reached.
UsageLimitBreachActionpublic UpdateUsageLimitRequest withBreachAction(String breachAction)
The new action that Amazon Redshift Serverless takes when the limit is reached.
breachAction - The new action that Amazon Redshift Serverless takes when the limit is reached.UsageLimitBreachActionpublic UpdateUsageLimitRequest withBreachAction(UsageLimitBreachAction breachAction)
The new action that Amazon Redshift Serverless takes when the limit is reached.
breachAction - The new action that Amazon Redshift Serverless takes when the limit is reached.UsageLimitBreachActionpublic void setUsageLimitId(String usageLimitId)
The identifier of the usage limit to update.
usageLimitId - The identifier of the usage limit to update.public String getUsageLimitId()
The identifier of the usage limit to update.
public UpdateUsageLimitRequest withUsageLimitId(String usageLimitId)
The identifier of the usage limit to update.
usageLimitId - The identifier of the usage limit to update.public String toString()
toString in class ObjectObject.toString()public UpdateUsageLimitRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()