Class SnapshotLimitExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
com.amazonaws.services.directory.model.SnapshotLimitExceededException
- All Implemented Interfaces:
Serializable
The maximum number of manual snapshots for the directory has been reached. You can use the GetSnapshotLimits operation to determine the snapshot limits for a directory.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotLimitExceededException
(String message) Constructs a new SnapshotLimitExceededException with the specified error message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the AWS request ID that uniquely identifies the service request the caller made.void
setRequestId
(String requestId) Sets the AWS requestId for this exception.withRequestId
(String requestId) Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SnapshotLimitExceededException
Constructs a new SnapshotLimitExceededException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-
Method Details
-
setRequestId
Description copied from class:AmazonServiceException
Sets the AWS requestId for this exception.- Overrides:
setRequestId
in classAmazonServiceException
- Parameters:
requestId
-
-
getRequestId
Description copied from class:AmazonServiceException
Returns the AWS request ID that uniquely identifies the service request the caller made.- Overrides:
getRequestId
in classAmazonServiceException
- Returns:
-
withRequestId
- Parameters:
requestId
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-