Package com.dropbox.core.v2.sharing
Class CreateSharedLinkBuilder
- java.lang.Object
- 
- com.dropbox.core.v2.sharing.CreateSharedLinkBuilder
 
- 
 public class CreateSharedLinkBuilder extends java.lang.ObjectThe request builder returned byDbxUserSharingRequests.createSharedLinkBuilder(java.lang.String).Use this class to set optional request parameters and complete the request. 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PathLinkMetadatastart()Issues the request.CreateSharedLinkBuilderwithPendingUpload(PendingUploadMode pendingUpload)Set value for optional field.CreateSharedLinkBuilderwithShortUrl(java.lang.Boolean shortUrl)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withShortUrlpublic CreateSharedLinkBuilder withShortUrl(java.lang.Boolean shortUrl) Set value for optional field.If left unset or set to null, defaults tofalse.- Parameters:
- shortUrl- Defaults to- falsewhen set to- null.
- Returns:
- this builder
 
 - 
withPendingUploadpublic CreateSharedLinkBuilder withPendingUpload(PendingUploadMode pendingUpload) Set value for optional field.- Parameters:
- pendingUpload- If it's okay to share a path that does not yet exist, set this to either- PendingUploadMode.FILEor- PendingUploadMode.FOLDERto indicate whether to assume it's a file or folder.
- Returns:
- this builder
 
 - 
startpublic PathLinkMetadata start() throws CreateSharedLinkErrorException, DbxException Issues the request.
 
- 
 
-