@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceAlreadyExistsException extends AWSDatabaseMigrationServiceException
The resource you are attempting to create already exists.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceAlreadyExistsException(String message)
Constructs a new ResourceAlreadyExistsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceArn()
|
void |
setResourceArn(String resourceArn)
|
ResourceAlreadyExistsException |
withResourceArn(String resourceArn)
|
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 ResourceAlreadyExistsException(String message)
message
- Describes the error encountered.public void setResourceArn(String resourceArn)
resourceArn
- public String getResourceArn()
public ResourceAlreadyExistsException withResourceArn(String resourceArn)
resourceArn
-