@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AmazonCloudWatchException
The named resource does not 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 |
getResourceId() |
String |
getResourceType() |
void |
setResourceId(String resourceId) |
void |
setResourceType(String resourceType) |
ResourceNotFoundException |
withResourceId(String resourceId) |
ResourceNotFoundException |
withResourceType(String resourceType) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceNotFoundException(String message)
message
- Describes the error encountered.public void setResourceType(String resourceType)
resourceType
- public String getResourceType()
public ResourceNotFoundException withResourceType(String resourceType)
resourceType
- public void setResourceId(String resourceId)
resourceId
- public String getResourceId()
public ResourceNotFoundException withResourceId(String resourceId)
resourceId
- Copyright © 2020. All rights reserved.