public class DescribeFileSystemsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeFileSystems operation
.
Returns the description of a specific Amazon EFS file system if either
the file system CreationToken
or the
FileSystemId
is provided; otherwise, returns descriptions
of all file systems owned by the caller's AWS account in the AWS
region of the endpoint that you're calling.
When retrieving all file system descriptions, you can optionally
specify the MaxItems
parameter to limit the number of
descriptions in a response. If more file system descriptions remain,
Amazon EFS returns a NextMarker
, an opaque token, in the
response. In this case, you should send a subsequent request with the
Marker
request parameter set to the value of
NextMarker
.
So to retrieve a list of your file system descriptions, the expected
usage of this API is an iterative process of first calling
DescribeFileSystems
without the Marker
and
then continuing to call it with the Marker
parameter set
to the value of the NextMarker
from the previous response
until the response has no NextMarker
.
Note that the implementation may return fewer than
MaxItems
file system descriptions while still including a
NextMarker
value.
The order of file systems returned in the response of one
DescribeFileSystems
call, and the order of file systems
returned across the responses of a multi-call iteration, is
unspecified.
This operation requires permission for the
elasticfilesystem:DescribeFileSystems
action.
NOOP
Constructor and Description |
---|
DescribeFileSystemsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeFileSystemsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getCreationToken()
Optional string.
|
String |
getFileSystemId()
Optional string.
|
String |
getMarker()
Optional string.
|
Integer |
getMaxItems()
Optional integer.
|
int |
hashCode() |
void |
setCreationToken(String creationToken)
Optional string.
|
void |
setFileSystemId(String fileSystemId)
Optional string.
|
void |
setMarker(String marker)
Optional string.
|
void |
setMaxItems(Integer maxItems)
Optional integer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeFileSystemsRequest |
withCreationToken(String creationToken)
Optional string.
|
DescribeFileSystemsRequest |
withFileSystemId(String fileSystemId)
Optional string.
|
DescribeFileSystemsRequest |
withMarker(String marker)
Optional string.
|
DescribeFileSystemsRequest |
withMaxItems(Integer maxItems)
Optional integer.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public Integer getMaxItems()
MaxItems
parameter specified in the request and the
service's internal maximum number of items per page.
Constraints:
Range: 1 -
MaxItems
parameter specified in the request and the
service's internal maximum number of items per page.public void setMaxItems(Integer maxItems)
MaxItems
parameter specified in the request and the
service's internal maximum number of items per page.
Constraints:
Range: 1 -
maxItems
- Optional integer. Specifies the maximum number of file systems to
return in the response. This parameter value must be greater than 0.
The number of items Amazon EFS returns will be the minimum of the
MaxItems
parameter specified in the request and the
service's internal maximum number of items per page.public DescribeFileSystemsRequest withMaxItems(Integer maxItems)
MaxItems
parameter specified in the request and the
service's internal maximum number of items per page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
maxItems
- Optional integer. Specifies the maximum number of file systems to
return in the response. This parameter value must be greater than 0.
The number of items Amazon EFS returns will be the minimum of the
MaxItems
parameter specified in the request and the
service's internal maximum number of items per page.public String getMarker()
DescribeFileSystems
operation. If present, specifies to
continue the list from where the returning call had left off.DescribeFileSystems
operation. If present, specifies to
continue the list from where the returning call had left off.public void setMarker(String marker)
DescribeFileSystems
operation. If present, specifies to
continue the list from where the returning call had left off.marker
- Optional string. Opaque pagination token returned from a previous
DescribeFileSystems
operation. If present, specifies to
continue the list from where the returning call had left off.public DescribeFileSystemsRequest withMarker(String marker)
DescribeFileSystems
operation. If present, specifies to
continue the list from where the returning call had left off.
Returns a reference to this object so that method calls can be chained together.
marker
- Optional string. Opaque pagination token returned from a previous
DescribeFileSystems
operation. If present, specifies to
continue the list from where the returning call had left off.public String getCreationToken()
Constraints:
Length: 1 - 64
public void setCreationToken(String creationToken)
Constraints:
Length: 1 - 64
creationToken
- Optional string. Restricts the list to the file system with this
creation token (you specify a creation token at the time of creating
an Amazon EFS file system).public DescribeFileSystemsRequest withCreationToken(String creationToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
creationToken
- Optional string. Restricts the list to the file system with this
creation token (you specify a creation token at the time of creating
an Amazon EFS file system).public String getFileSystemId()
Constraints:
Pattern: fs-[0-9a-f]{8}
public void setFileSystemId(String fileSystemId)
Constraints:
Pattern: fs-[0-9a-f]{8}
fileSystemId
- Optional string. File system ID whose description you want to
retrieve.public DescribeFileSystemsRequest 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
- Optional string. File system ID whose description you want to
retrieve.public String toString()
toString
in class Object
Object.toString()
public DescribeFileSystemsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.