@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectoryLimitExceededException extends AWSDirectoryServiceException
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
Constructor and Description |
---|
DirectoryLimitExceededException(String message)
Constructs a new DirectoryLimitExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getRequestId()
Returns the AWS request ID that uniquely identifies the service request
the caller made.
|
void |
setRequestId(String requestId)
Sets the AWS requestId for this exception.
|
DirectoryLimitExceededException |
withRequestId(String requestId) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DirectoryLimitExceededException(String message)
message
- Describes the error encountered.public void setRequestId(String requestId)
AmazonServiceException
setRequestId
in class AmazonServiceException
requestId
- public String getRequestId()
AmazonServiceException
getRequestId
in class AmazonServiceException
public DirectoryLimitExceededException withRequestId(String requestId)
requestId
-