@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInUseException extends AmazonQLDBException
The specified resource can't be modified at this time.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| ResourceInUseException(String message)Constructs a new ResourceInUseException with the specified error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getResourceName()
 The name of the resource. | 
| String | getResourceType()
 The type of resource. | 
| void | setResourceName(String resourceName)
 The name of the resource. | 
| void | setResourceType(String resourceType)
 The type of resource. | 
| ResourceInUseException | withResourceName(String resourceName)
 The name of the resource. | 
| ResourceInUseException | withResourceType(String resourceType)
 The type of resource. | 
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 setResourceType(String resourceType)
The type of resource.
resourceType - The type of resource.public String getResourceType()
The type of resource.
public ResourceInUseException withResourceType(String resourceType)
The type of resource.
resourceType - The type of resource.public void setResourceName(String resourceName)
The name of the resource.
resourceName - The name of the resource.public String getResourceName()
The name of the resource.
public ResourceInUseException withResourceName(String resourceName)
The name of the resource.
resourceName - The name of the resource.