Package com.dropbox.core.v2.files
Class FolderSharingInfo.Builder
java.lang.Object
com.dropbox.core.v2.files.FolderSharingInfo.Builder
- Enclosing class:
FolderSharingInfo
Builder for
FolderSharingInfo.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofFolderSharingInfoconfigured with this builder's valueswithNoAccess(Boolean noAccess) Set value for optional field.withParentSharedFolderId(String parentSharedFolderId) Set value for optional field.withSharedFolderId(String sharedFolderId) Set value for optional field.withTraverseOnly(Boolean traverseOnly) Set value for optional field.
-
Field Details
-
readOnly
protected final boolean readOnly -
traverseOnly
protected boolean traverseOnly -
noAccess
protected boolean noAccess
-
-
Constructor Details
-
Builder
protected Builder(boolean readOnly)
-
-
Method Details
-
withTraverseOnly
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
traverseOnly- Specifies that the folder can only be traversed and the user can only see a limited subset of the contents of this folder because they don't have read access to this folder. They do, however, have access to some sub folder. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
withNoAccess
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
noAccess- Specifies that the folder cannot be accessed by the user. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
build
Builds an instance ofFolderSharingInfoconfigured with this builder's values- Returns:
- new instance of
FolderSharingInfo