@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInUseException extends AWSSecurityHubException
The request was rejected because it conflicts with the resource's availability. For example, you tried to update a
security control that's currently in the UPDATING state.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
ResourceInUseException(String message)
Constructs a new ResourceInUseException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
void |
setCode(String code) |
ResourceInUseException |
withCode(String code) |
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 ResourceInUseException(String message)
message - Describes the error encountered.public void setCode(String code)
code - public String getCode()
public ResourceInUseException withCode(String code)
code -