@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceExistsException extends AWSTransferException
The requested resource does not exist, or exists in a region other than the one specified for the command.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
ResourceExistsException(String message)
Constructs a new ResourceExistsException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResource() |
String |
getResourceType() |
void |
setResource(String resource) |
void |
setResourceType(String resourceType) |
ResourceExistsException |
withResource(String resource) |
ResourceExistsException |
withResourceType(String resourceType) |
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 ResourceExistsException(String message)
message - Describes the error encountered.public void setResource(String resource)
resource - public String getResource()
public ResourceExistsException withResource(String resource)
resource - public void setResourceType(String resourceType)
resourceType - public String getResourceType()
public ResourceExistsException withResourceType(String resourceType)
resourceType -