@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AmazonFSxException
The resource specified by the Amazon Resource Name (ARN) can't be found.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceNotFoundException(String message)
Constructs a new ResourceNotFoundException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceARN()
The resource ARN of the resource that can't be found.
|
void |
setResourceARN(String resourceARN)
The resource ARN of the resource that can't be found.
|
ResourceNotFoundException |
withResourceARN(String resourceARN)
The resource ARN of the resource that can't be found.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, 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 setResourceARN(String resourceARN)
The resource ARN of the resource that can't be found.
resourceARN
- The resource ARN of the resource that can't be found.public String getResourceARN()
The resource ARN of the resource that can't be found.
public ResourceNotFoundException withResourceARN(String resourceARN)
The resource ARN of the resource that can't be found.
resourceARN
- The resource ARN of the resource that can't be found.