Package com.dropbox.core.v2.teamlog
Class FileRequestCreateDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.FileRequestCreateDetails.Builder
-
- Enclosing class:
- FileRequestCreateDetails
public static class FileRequestCreateDetails.Builder extends java.lang.Object
Builder forFileRequestCreateDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
fileRequestId
protected FileRequestDetails
requestDetails
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileRequestCreateDetails
build()
Builds an instance ofFileRequestCreateDetails
configured with this builder's valuesFileRequestCreateDetails.Builder
withFileRequestId(java.lang.String fileRequestId)
Set value for optional field.FileRequestCreateDetails.Builder
withRequestDetails(FileRequestDetails requestDetails)
Set value for optional field.
-
-
-
Field Detail
-
fileRequestId
protected java.lang.String fileRequestId
-
requestDetails
protected FileRequestDetails requestDetails
-
-
Method Detail
-
withFileRequestId
public FileRequestCreateDetails.Builder withFileRequestId(java.lang.String fileRequestId)
Set value for optional field.- Parameters:
fileRequestId
- File request id. Might be missing due to historical data gap. Must have length of at least 1 and match pattern "[-_0-9a-zA-Z]+
".- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
withRequestDetails
public FileRequestCreateDetails.Builder withRequestDetails(FileRequestDetails requestDetails)
Set value for optional field.- Parameters:
requestDetails
- File request details. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public FileRequestCreateDetails build()
Builds an instance ofFileRequestCreateDetails
configured with this builder's values- Returns:
- new instance of
FileRequestCreateDetails
-
-