public class AlreadyExistsException extends AmazonServiceException
Indicates that a resource could not be created due to a naming conflict.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private static long |
serialVersionUID |
Constructor and Description |
---|
AlreadyExistsException(java.lang.String message)
Constructs a new AlreadyExistsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
setName(java.lang.String name) |
AlreadyExistsException |
withName(java.lang.String name) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String name
public AlreadyExistsException(java.lang.String message)
message
- Describes the error encountered.public void setName(java.lang.String name)
name
- public java.lang.String getName()
public AlreadyExistsException withName(java.lang.String name)
name
-