Class FileSystemListDetails
java.lang.Object
com.azure.storage.file.datalake.models.FileSystemListDetails
This type allows users to specify additional information the service should return with each file system when listing
file systems in an account (via a
DataLakeServiceAsyncClient
object). This type is immutable to ensure
thread-safety of requests, so changing the details for a different listing operation requires construction of a
new object. Null may be passed if none of the options are desirable.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether deleted file systems should be returned.boolean
Whether metadata should be returned.boolean
Whether system fileSystems should be returned.setRetrieveDeleted
(boolean retrieveDeleted) Whether deleted file systems should be returned.setRetrieveMetadata
(boolean retrieveMetadata) Whether metadata should be returned.setRetrieveSystemFileSystems
(boolean retrieveSystemFileSystems) Whether system fileSystems should be returned.
-
Constructor Details
-
FileSystemListDetails
public FileSystemListDetails()Creates a new instance ofFileSystemListDetails
.
-
-
Method Details
-
getRetrieveMetadata
public boolean getRetrieveMetadata()Whether metadata should be returned.- Returns:
- a flag indicating whether metadata should be returned in the listing
-
setRetrieveMetadata
Whether metadata should be returned.- Parameters:
retrieveMetadata
- Flag indicating whether metadata should be returned- Returns:
- the updated FileSystemListDetails object
-
getRetrieveDeleted
public boolean getRetrieveDeleted()Whether deleted file systems should be returned.- Returns:
- a flag indicating whether deleted file systems should be returned
-
setRetrieveDeleted
Whether deleted file systems should be returned.- Parameters:
retrieveDeleted
- Flag indicating whether deleted file systems should be returned.- Returns:
- the updated FileSystemListDetails object
-
getRetrieveSystemFileSystems
public boolean getRetrieveSystemFileSystems()Whether system fileSystems should be returned.- Returns:
- a flag indicating whether system fileSystems should be returned in the listing
-
setRetrieveSystemFileSystems
Whether system fileSystems should be returned.- Parameters:
retrieveSystemFileSystems
- Flag indicating whether system fileSystems should be returned- Returns:
- the updated FileSystemListDetails object
-
toIncludeType
- Returns:
- the listing flags
-