public class AlreadyExistsException extends AmazonServiceException
Indicates that a resource could not be created due to 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() |
void |
setName(String name) |
AlreadyExistsException |
withName(String name) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AlreadyExistsException(String message)
message - Describes the error encountered.public void setName(String name)
name - public String getName()
public AlreadyExistsException withName(String name)
name - Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.