Package com.dropbox.core.v2.teamlog
Class FileRequestDeadline.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.FileRequestDeadline.Builder
-
- Enclosing class:
- FileRequestDeadline
public static class FileRequestDeadline.Builder extends java.lang.Object
Builder forFileRequestDeadline
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
allowLateUploads
protected java.util.Date
deadline
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileRequestDeadline
build()
Builds an instance ofFileRequestDeadline
configured with this builder's valuesFileRequestDeadline.Builder
withAllowLateUploads(java.lang.String allowLateUploads)
Set value for optional field.FileRequestDeadline.Builder
withDeadline(java.util.Date deadline)
Set value for optional field.
-
-
-
Method Detail
-
withDeadline
public FileRequestDeadline.Builder withDeadline(java.util.Date deadline)
Set value for optional field.- Parameters:
deadline
- The deadline for this file request. Might be missing due to historical data gap.- Returns:
- this builder
-
withAllowLateUploads
public FileRequestDeadline.Builder withAllowLateUploads(java.lang.String allowLateUploads)
Set value for optional field.- Parameters:
allowLateUploads
- If set, allow uploads after the deadline has passed. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public FileRequestDeadline build()
Builds an instance ofFileRequestDeadline
configured with this builder's values- Returns:
- new instance of
FileRequestDeadline
-
-