@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlreadyExistsException extends AmazonSimpleEmailServiceException
Indicates that a resource could not be created because of a naming conflict.
AmazonServiceException.ErrorType
Constructor and Description |
---|
AlreadyExistsException(String message)
Constructs a new AlreadyExistsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Indicates that a resource could not be created because the resource name already exists.
|
void |
setName(String name)
Indicates that a resource could not be created because the resource name already exists.
|
AlreadyExistsException |
withName(String name)
Indicates that a resource could not be created because the resource name already exists.
|
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 AlreadyExistsException(String message)
message
- Describes the error encountered.public void setName(String name)
Indicates that a resource could not be created because the resource name already exists.
name
- Indicates that a resource could not be created because the resource name already exists.public String getName()
Indicates that a resource could not be created because the resource name already exists.
public AlreadyExistsException withName(String name)
Indicates that a resource could not be created because the resource name already exists.
name
- Indicates that a resource could not be created because the resource name already exists.