public class DirectoryLimitExceededException extends AmazonServiceException
The maximum number of directories in the region has been reached. You can use the GetDirectoryLimits operation to determine your directory limits in the region.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
requestId |
private static long |
serialVersionUID |
Constructor and Description |
---|
DirectoryLimitExceededException(java.lang.String message)
Constructs a new DirectoryLimitExceededException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestId()
Returns the AWS request ID that uniquely identifies the service request
the caller made.
|
void |
setRequestId(java.lang.String requestId)
Sets the AWS requestId for this exception.
|
DirectoryLimitExceededException |
withRequestId(java.lang.String requestId) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String requestId
public DirectoryLimitExceededException(java.lang.String message)
message
- Describes the error encountered.public void setRequestId(java.lang.String requestId)
AmazonServiceException
setRequestId
in class AmazonServiceException
requestId
- public java.lang.String getRequestId()
AmazonServiceException
getRequestId
in class AmazonServiceException
public DirectoryLimitExceededException withRequestId(java.lang.String requestId)
requestId
-