@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AmazonWorkSpacesWebException
The resource cannot 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 |
getResourceId()
Hypothetical identifier of the resource affected.
|
String |
getResourceType()
Hypothetical type of the resource affected.
|
void |
setResourceId(String resourceId)
Hypothetical identifier of the resource affected.
|
void |
setResourceType(String resourceType)
Hypothetical type of the resource affected.
|
ResourceNotFoundException |
withResourceId(String resourceId)
Hypothetical identifier of the resource affected.
|
ResourceNotFoundException |
withResourceType(String resourceType)
Hypothetical 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, 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 setResourceId(String resourceId)
Hypothetical identifier of the resource affected.
resourceId
- Hypothetical identifier of the resource affected.public String getResourceId()
Hypothetical identifier of the resource affected.
public ResourceNotFoundException withResourceId(String resourceId)
Hypothetical identifier of the resource affected.
resourceId
- Hypothetical identifier of the resource affected.public void setResourceType(String resourceType)
Hypothetical type of the resource affected.
resourceType
- Hypothetical type of the resource affected.public String getResourceType()
Hypothetical type of the resource affected.
public ResourceNotFoundException withResourceType(String resourceType)
Hypothetical type of the resource affected.
resourceType
- Hypothetical type of the resource affected.