public class ListPathsOptions extends Object
DataLakeFileSystemClient
or a DataLakeFileSystemAsyncClient
object. See the constructor for details on each of the options. Null may be
passed in place of an object of this type if no options are desirable.Constructor and Description |
---|
ListPathsOptions()
Constructs an unpopulated
ListPathsOptions . |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxResults()
Specifies the maximum number of blobs to return, including all BlobPrefix elements.
|
String |
getPath()
Specifies the path to filter the results to.
|
boolean |
isRecursive()
Specifies if the call to listContainersSegment should recursively include all paths.
|
boolean |
isUserPrincipalNameReturned()
Valid only when Hierarchical Namespace is enabled for the account.
|
ListPathsOptions |
setMaxResults(Integer maxResults)
Specifies the maximum number of blobs to return, including all BlobPrefix elements.
|
ListPathsOptions |
setPath(String path)
Specifies the path to filter the results to.
|
ListPathsOptions |
setRecursive(boolean recursive)
Specifies if the call to listContainersSegment should recursively include all paths.
|
ListPathsOptions |
setUserPrincipalNameReturned(boolean isUserPrincipalNameReturned)
Valid only when Hierarchical Namespace is enabled for the account.
|
public ListPathsOptions()
ListPathsOptions
.public String getPath()
public boolean isRecursive()
true
if the call to listContainerSegment recursively includes all paths.public boolean isUserPrincipalNameReturned()
public ListPathsOptions setPath(String path)
path
- The path valuepublic ListPathsOptions setRecursive(boolean recursive)
recursive
- true
if the call to listContainerSegment recursively includes all paths.public ListPathsOptions setUserPrincipalNameReturned(boolean isUserPrincipalNameReturned)
isUserPrincipalNameReturned
- The userPrincipalNameReturned valuepublic Integer getMaxResults()
public ListPathsOptions setMaxResults(Integer maxResults)
maxResults
- The number of containers to return in a single responseIllegalArgumentException
- If maxResults
is less than or equal to 0
.Copyright © 2020 Microsoft Corporation. All rights reserved.