@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AWSSSMIncidentsException
Request references a resource which 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 |
getResourceIdentifier()
The identifier for the requested resource
|
String |
getResourceType()
The resource type
|
void |
setResourceIdentifier(String resourceIdentifier)
The identifier for the requested resource
|
void |
setResourceType(String resourceType)
The resource type
|
ResourceNotFoundException |
withResourceIdentifier(String resourceIdentifier)
The identifier for the requested resource
|
ResourceNotFoundException |
withResourceType(ResourceType resourceType)
The resource type
|
ResourceNotFoundException |
withResourceType(String resourceType)
The resource type
|
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 setResourceIdentifier(String resourceIdentifier)
The identifier for the requested resource
resourceIdentifier - The identifier for the requested resourcepublic String getResourceIdentifier()
The identifier for the requested resource
public ResourceNotFoundException withResourceIdentifier(String resourceIdentifier)
The identifier for the requested resource
resourceIdentifier - The identifier for the requested resourcepublic void setResourceType(String resourceType)
The resource type
resourceType - The resource typeResourceTypepublic String getResourceType()
The resource type
ResourceTypepublic ResourceNotFoundException withResourceType(String resourceType)
The resource type
resourceType - The resource typeResourceTypepublic ResourceNotFoundException withResourceType(ResourceType resourceType)
The resource type
resourceType - The resource typeResourceType