@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InternalServerException extends AmazonManagedGrafanaException
Unexpected error while processing the request. Retry the request.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InternalServerException(String message)
Constructs a new InternalServerException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getRetryAfterSeconds()
How long to wait before you retry this operation.
|
void |
setRetryAfterSeconds(Integer retryAfterSeconds)
How long to wait before you retry this operation.
|
InternalServerException |
withRetryAfterSeconds(Integer retryAfterSeconds)
How long to wait before you retry this operation.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InternalServerException(String message)
message - Describes the error encountered.public void setRetryAfterSeconds(Integer retryAfterSeconds)
How long to wait before you retry this operation.
retryAfterSeconds - How long to wait before you retry this operation.public Integer getRetryAfterSeconds()
How long to wait before you retry this operation.
public InternalServerException withRetryAfterSeconds(Integer retryAfterSeconds)
How long to wait before you retry this operation.
retryAfterSeconds - How long to wait before you retry this operation.