@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceLimitExceededException extends AmazonFSxException
An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
ServiceLimitExceededException(String message)
Constructs a new ServiceLimitExceededException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLimit()
Enumeration of the service limit that was exceeded.
|
void |
setLimit(String limit)
Enumeration of the service limit that was exceeded.
|
ServiceLimitExceededException |
withLimit(ServiceLimit limit)
Enumeration of the service limit that was exceeded.
|
ServiceLimitExceededException |
withLimit(String limit)
Enumeration of the service limit that was exceeded.
|
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 ServiceLimitExceededException(String message)
message - Describes the error encountered.public void setLimit(String limit)
Enumeration of the service limit that was exceeded.
limit - Enumeration of the service limit that was exceeded.ServiceLimitpublic String getLimit()
Enumeration of the service limit that was exceeded.
ServiceLimitpublic ServiceLimitExceededException withLimit(String limit)
Enumeration of the service limit that was exceeded.
limit - Enumeration of the service limit that was exceeded.ServiceLimitpublic ServiceLimitExceededException withLimit(ServiceLimit limit)
Enumeration of the service limit that was exceeded.
limit - Enumeration of the service limit that was exceeded.ServiceLimit