public class FileSystemAlreadyExistsException extends AmazonServiceException
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 value of the ErrorCode property for this object.
|
String |
getFileSystemId()
Returns the value of the FileSystemId property for this object.
|
void |
setErrorCode(String errorCode)
Sets the value of the ErrorCode property for this object.
|
void |
setFileSystemId(String fileSystemId)
Sets the value of the FileSystemId property for this object.
|
FileSystemAlreadyExistsException |
withErrorCode(String errorCode)
Sets the value of the ErrorCode property for this object.
|
FileSystemAlreadyExistsException |
withFileSystemId(String fileSystemId)
Sets the value of the FileSystemId property for this object.
|
getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FileSystemAlreadyExistsException(String message)
message - Describes the error encountered.public void setErrorCode(String errorCode)
setErrorCode in class AmazonServiceExceptionerrorCode - The new value for the ErrorCode property for this object.public String getErrorCode()
getErrorCode in class AmazonServiceExceptionpublic FileSystemAlreadyExistsException withErrorCode(String errorCode)
errorCode - The new value for the ErrorCode property for this object.public void setFileSystemId(String fileSystemId)
fileSystemId - The new value for the FileSystemId property for this object.public String getFileSystemId()
public FileSystemAlreadyExistsException withFileSystemId(String fileSystemId)
fileSystemId - The new value for the FileSystemId property for this object.Copyright © 2015. All rights reserved.