@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AmazonWorkSpacesWebException
There is a throttling error.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ThrottlingException(String message)
Constructs a new ThrottlingException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getQuotaCode()
The originating quota.
|
Integer |
getRetryAfterSeconds()
Advice to clients on when the call can be safely retried.
|
String |
getServiceCode()
The originating service.
|
void |
setQuotaCode(String quotaCode)
The originating quota.
|
void |
setRetryAfterSeconds(Integer retryAfterSeconds)
Advice to clients on when the call can be safely retried.
|
void |
setServiceCode(String serviceCode)
The originating service.
|
ThrottlingException |
withQuotaCode(String quotaCode)
The originating quota.
|
ThrottlingException |
withRetryAfterSeconds(Integer retryAfterSeconds)
Advice to clients on when the call can be safely retried.
|
ThrottlingException |
withServiceCode(String serviceCode)
The originating service.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ThrottlingException(String message)
message
- Describes the error encountered.public void setQuotaCode(String quotaCode)
The originating quota.
quotaCode
- The originating quota.public String getQuotaCode()
The originating quota.
public ThrottlingException withQuotaCode(String quotaCode)
The originating quota.
quotaCode
- The originating quota.public void setRetryAfterSeconds(Integer retryAfterSeconds)
Advice to clients on when the call can be safely retried.
retryAfterSeconds
- Advice to clients on when the call can be safely retried.public Integer getRetryAfterSeconds()
Advice to clients on when the call can be safely retried.
public ThrottlingException withRetryAfterSeconds(Integer retryAfterSeconds)
Advice to clients on when the call can be safely retried.
retryAfterSeconds
- Advice to clients on when the call can be safely retried.public void setServiceCode(String serviceCode)
The originating service.
serviceCode
- The originating service.public String getServiceCode()
The originating service.
public ThrottlingException withServiceCode(String serviceCode)
The originating service.
serviceCode
- The originating service.