Package com.dropbox.core.v2.filerequests
Class CreateBuilder
- java.lang.Object
- 
- com.dropbox.core.v2.filerequests.CreateBuilder
 
- 
 public class CreateBuilder extends java.lang.ObjectThe request builder returned byDbxUserFileRequestsRequests.createBuilder(java.lang.String, 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 FileRequeststart()Issues the request.CreateBuilderwithDeadline(FileRequestDeadline deadline)Set value for optional field.CreateBuilderwithDescription(java.lang.String description)Set value for optional field.CreateBuilderwithOpen(java.lang.Boolean open)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withDeadlinepublic CreateBuilder withDeadline(FileRequestDeadline deadline) Set value for optional field.- Parameters:
- deadline- The deadline for the file request. Deadlines can only be set by Professional and Business accounts.
- Returns:
- this builder
 
 - 
withOpenpublic CreateBuilder withOpen(java.lang.Boolean open) Set value for optional field.If left unset or set to null, defaults totrue.- Parameters:
- open- Whether or not the file request should be open. If the file request is closed, it will not accept any file submissions, but it can be opened later. Defaults to- truewhen set to- null.
- Returns:
- this builder
 
 - 
withDescriptionpublic CreateBuilder withDescription(java.lang.String description) Set value for optional field.- Parameters:
- description- A description of the file request.
- Returns:
- this builder
 
 - 
startpublic FileRequest start() throws CreateFileRequestErrorException, DbxException Issues the request.
 
- 
 
-