public static class FileRequestDeadline.Builder
extends java.lang.Object
FileRequestDeadline
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
allowLateUploads |
protected java.util.Date |
deadline |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
FileRequestDeadline |
build()
Builds an instance of
FileRequestDeadline configured with
this builder's values |
FileRequestDeadline.Builder |
withAllowLateUploads(java.lang.String allowLateUploads)
Set value for optional field.
|
FileRequestDeadline.Builder |
withDeadline(java.util.Date deadline)
Set value for optional field.
|
protected java.util.Date deadline
protected java.lang.String allowLateUploads
public FileRequestDeadline.Builder withDeadline(java.util.Date deadline)
deadline
- The deadline for this file request. Might be missing
due to historical data gap.public FileRequestDeadline.Builder withAllowLateUploads(java.lang.String allowLateUploads)
allowLateUploads
- If set, allow uploads after the deadline has
passed. Might be missing due to historical data gap.public FileRequestDeadline build()
FileRequestDeadline
configured with
this builder's valuesFileRequestDeadline