Package com.dropbox.core.v2.files
Class SharedLinkFileInfo.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.files.SharedLinkFileInfo.Builder
 
- 
- Enclosing class:
- SharedLinkFileInfo
 
 public static class SharedLinkFileInfo.Builder extends java.lang.ObjectBuilder forSharedLinkFileInfo.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(java.lang.String url)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedLinkFileInfobuild()Builds an instance ofSharedLinkFileInfoconfigured with this builder's valuesSharedLinkFileInfo.BuilderwithPassword(java.lang.String password)Set value for optional field.SharedLinkFileInfo.BuilderwithPath(java.lang.String path)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withPathpublic SharedLinkFileInfo.Builder withPath(java.lang.String path) 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
 
 - 
withPasswordpublic SharedLinkFileInfo.Builder withPassword(java.lang.String password) 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
 
 - 
buildpublic SharedLinkFileInfo build() Builds an instance ofSharedLinkFileInfoconfigured with this builder's values- Returns:
- new instance of SharedLinkFileInfo
 
 
- 
 
-