Package com.dropbox.core.v2.files
Class SharedLinkFileInfo.Builder
java.lang.Object
com.dropbox.core.v2.files.SharedLinkFileInfo.Builder
- Enclosing class:
SharedLinkFileInfo
Builder for
SharedLinkFileInfo.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofSharedLinkFileInfoconfigured with this builder's valueswithPassword(String password) Set value for optional field.Set value for optional field.
-
Field Details
-
url
-
path
-
password
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withPath
Set value for optional field.- Parameters:
path- The path corresponding to a file in a shared link to a folder. Required for shared links to folders.- Returns:
- this builder
-
withPassword
Set value for optional field.- Parameters:
password- Password for the shared link. Required for password-protected shared links to files unless it can be read from a cookie.- Returns:
- this builder
-
build
Builds an instance ofSharedLinkFileInfoconfigured with this builder's values- Returns:
- new instance of
SharedLinkFileInfo
-