@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileSystemAlreadyExistsException extends AmazonElasticFileSystemException
Returned if the file system you are trying to create already exists, with the creation token you provided.
AmazonServiceException.ErrorType | Constructor and Description |
|---|
FileSystemAlreadyExistsException (String message)
Constructs a new FileSystemAlreadyExistsException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode ()
Returns the AWS error code represented by this exception.
|
String |
getFileSystemId () |
void |
setErrorCode (String errorCode)
Sets the AWS error code represented by this exception.
|
void |
setFileSystemId (String fileSystemId) |
FileSystemAlreadyExistsException |
withErrorCode (String errorCode) |
FileSystemAlreadyExistsException |
withFileSystemId (String fileSystemId) |
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode isRetryable addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString public FileSystemAlreadyExistsException(String message)
message - Describes the error encountered.public void setErrorCode(String errorCode)
AmazonServiceException setErrorCode in class AmazonServiceException errorCode - public String getErrorCode()
AmazonServiceException getErrorCode in class AmazonServiceException public FileSystemAlreadyExistsException withErrorCode(String errorCode)
errorCode - public void setFileSystemId(String fileSystemId)
fileSystemId - public String getFileSystemId()
public FileSystemAlreadyExistsException withFileSystemId(String fileSystemId)
fileSystemId -