@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AmazonQLDBException
The specified resource doesn't exist.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| ResourceNotFoundException(String message)Constructs a new ResourceNotFoundException 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. | 
| ResourceNotFoundException | withResourceName(String resourceName)
 The name of the resource. | 
| ResourceNotFoundException | 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 ResourceNotFoundException(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 ResourceNotFoundException 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 ResourceNotFoundException withResourceName(String resourceName)
The name of the resource.
resourceName - The name of the resource.