@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInUseException extends AmazonRoute53ResolverException
The resource that you tried to update or delete is currently in use.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceInUseException(String message)
Constructs a new ResourceInUseException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceType()
For a
ResourceInUseException error, the type of resource that is currently in use. |
void |
setResourceType(String resourceType)
For a
ResourceInUseException error, the type of resource that is currently in use. |
ResourceInUseException |
withResourceType(String resourceType)
For a
ResourceInUseException error, the type of resource that is currently in use. |
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 ResourceInUseException(String message)
message
- Describes the error encountered.public void setResourceType(String resourceType)
For a ResourceInUseException
error, the type of resource that is currently in use.
resourceType
- For a ResourceInUseException
error, the type of resource that is currently in use.public String getResourceType()
For a ResourceInUseException
error, the type of resource that is currently in use.
ResourceInUseException
error, the type of resource that is currently in use.public ResourceInUseException withResourceType(String resourceType)
For a ResourceInUseException
error, the type of resource that is currently in use.
resourceType
- For a ResourceInUseException
error, the type of resource that is currently in use.