public class DeleteFileSystemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteFileSystem operation
.
Deletes a file system, permanently severing access to its contents. Upon return, the file system no longer exists and you will not be able to access any contents of the deleted file system.
You cannot delete a file system that is in use. That is, if the file system has any mount targets, you must first delete them. For more information, see DescribeMountTargets and DeleteMountTarget.
NOTE:The DeleteFileSystem call returns while the file system state is still "deleting". You can check the file system deletion status by calling the DescribeFileSystems API, which returns a list of file systems in your account. If you pass file system ID or creation token for the deleted file system, the DescribeFileSystems will return a 404 "FileSystemNotFound" error.
This operation requires permission for the
elasticfilesystem:DeleteFileSystem
action.
NOOP
Constructor and Description |
---|
DeleteFileSystemRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteFileSystemRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getFileSystemId()
The ID of the file system you want to delete.
|
int |
hashCode() |
void |
setFileSystemId(String fileSystemId)
The ID of the file system you want to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteFileSystemRequest |
withFileSystemId(String fileSystemId)
The ID of the file system you want to delete.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getFileSystemId()
Constraints:
Pattern: fs-[0-9a-f]{8}
public void setFileSystemId(String fileSystemId)
Constraints:
Pattern: fs-[0-9a-f]{8}
fileSystemId
- The ID of the file system you want to delete.public DeleteFileSystemRequest withFileSystemId(String fileSystemId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: fs-[0-9a-f]{8}
fileSystemId
- The ID of the file system you want to delete.public String toString()
toString
in class Object
Object.toString()
public DeleteFileSystemRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.