@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpsItemLimitExceededException extends AWSSimpleSystemsManagementException
The request caused OpsItems to exceed one or more quotas.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
OpsItemLimitExceededException(String message)
Constructs a new OpsItemLimitExceededException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getLimit() |
String |
getLimitType() |
List<String> |
getResourceTypes() |
void |
setLimit(Integer limit) |
void |
setLimitType(String limitType) |
void |
setResourceTypes(Collection<String> resourceTypes) |
OpsItemLimitExceededException |
withLimit(Integer limit) |
OpsItemLimitExceededException |
withLimitType(String limitType) |
OpsItemLimitExceededException |
withResourceTypes(Collection<String> resourceTypes) |
OpsItemLimitExceededException |
withResourceTypes(String... resourceTypes)
NOTE: This method appends the values to the existing list (if any).
|
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 OpsItemLimitExceededException(String message)
message - Describes the error encountered.public void setResourceTypes(Collection<String> resourceTypes)
resourceTypes - public OpsItemLimitExceededException withResourceTypes(String... resourceTypes)
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypes(java.util.Collection) or withResourceTypes(java.util.Collection) if you want
to override the existing values.
resourceTypes - public OpsItemLimitExceededException withResourceTypes(Collection<String> resourceTypes)
resourceTypes - public void setLimit(Integer limit)
limit - public Integer getLimit()
public OpsItemLimitExceededException withLimit(Integer limit)
limit - public void setLimitType(String limitType)
limitType - public String getLimitType()
public OpsItemLimitExceededException withLimitType(String limitType)
limitType -