@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.
The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.
The request would cause the data rate for the behavior graph to exceed the maximum allowed.
Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.
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.