@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AWSQBusinessException
The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| ResourceNotFoundException(String message)Constructs a new ResourceNotFoundException with the specified error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getResourceId()
 The identifier of the resource affected. | 
| String | getResourceType()
 The type of the resource affected. | 
| void | setResourceId(String resourceId)
 The identifier of the resource affected. | 
| void | setResourceType(String resourceType)
 The type of the resource affected. | 
| ResourceNotFoundException | withResourceId(String resourceId)
 The identifier of the resource affected. | 
| ResourceNotFoundException | withResourceType(String resourceType)
 The type of the resource affected. | 
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 setResourceId(String resourceId)
The identifier of the resource affected.
resourceId - The identifier of the resource affected.public String getResourceId()
The identifier of the resource affected.
public ResourceNotFoundException withResourceId(String resourceId)
The identifier of the resource affected.
resourceId - The identifier of the resource affected.public void setResourceType(String resourceType)
The type of the resource affected.
resourceType - The type of the resource affected.public String getResourceType()
The type of the resource affected.
public ResourceNotFoundException withResourceType(String resourceType)
The type of the resource affected.
resourceType - The type of the resource affected.