@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AmazonDetectiveException
This request cannot be completed for one of the following reasons.
This request cannot be completed if it would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1,200 member accounts.
This request cannot be completed if the current volume ingested is above the limit of 10 TB per day. Detective will not allow you to add additional member accounts.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServiceQuotaExceededException(String message)
Constructs a new ServiceQuotaExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getResources()
The type of resource that has exceeded the service quota.
|
void |
setResources(Collection<String> resources)
The type of resource that has exceeded the service quota.
|
ServiceQuotaExceededException |
withResources(Collection<String> resources)
The type of resource that has exceeded the service quota.
|
ServiceQuotaExceededException |
withResources(String... resources)
The type of resource that has exceeded the service quota.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceQuotaExceededException(String message)
message
- Describes the error encountered.public List<String> getResources()
The type of resource that has exceeded the service quota.
public void setResources(Collection<String> resources)
The type of resource that has exceeded the service quota.
resources
- The type of resource that has exceeded the service quota.public ServiceQuotaExceededException withResources(String... resources)
The type of resource that has exceeded the service quota.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- The type of resource that has exceeded the service quota.public ServiceQuotaExceededException withResources(Collection<String> resources)
The type of resource that has exceeded the service quota.
resources
- The type of resource that has exceeded the service quota.