@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AmazonDLMException
A requested resource was not 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 |
getCode() |
List<String> |
getResourceIds()
Value is a list of resource IDs that were not found.
|
String |
getResourceType()
Value is the type of resource that was not found.
|
void |
setCode(String code) |
void |
setResourceIds(Collection<String> resourceIds)
Value is a list of resource IDs that were not found.
|
void |
setResourceType(String resourceType)
Value is the type of resource that was not found.
|
ResourceNotFoundException |
withCode(String code) |
ResourceNotFoundException |
withResourceIds(Collection<String> resourceIds)
Value is a list of resource IDs that were not found.
|
ResourceNotFoundException |
withResourceIds(String... resourceIds)
Value is a list of resource IDs that were not found.
|
ResourceNotFoundException |
withResourceType(String resourceType)
Value is the type of resource that was not 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 setCode(String code)
code
- public String getCode()
public ResourceNotFoundException withCode(String code)
code
- public void setResourceType(String resourceType)
Value is the type of resource that was not found.
resourceType
- Value is the type of resource that was not found.public String getResourceType()
Value is the type of resource that was not found.
public ResourceNotFoundException withResourceType(String resourceType)
Value is the type of resource that was not found.
resourceType
- Value is the type of resource that was not found.public List<String> getResourceIds()
Value is a list of resource IDs that were not found.
public void setResourceIds(Collection<String> resourceIds)
Value is a list of resource IDs that were not found.
resourceIds
- Value is a list of resource IDs that were not found.public ResourceNotFoundException withResourceIds(String... resourceIds)
Value is a list of resource IDs that were not found.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection)
or withResourceIds(java.util.Collection)
if you want to
override the existing values.
resourceIds
- Value is a list of resource IDs that were not found.public ResourceNotFoundException withResourceIds(Collection<String> resourceIds)
Value is a list of resource IDs that were not found.
resourceIds
- Value is a list of resource IDs that were not found.