Package com.dropbox.core.v2.teamlog
Class FileRequestReceiveFileDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.FileRequestReceiveFileDetails.Builder
-
- Enclosing class:
- FileRequestReceiveFileDetails
public static class FileRequestReceiveFileDetails.Builder extends java.lang.Object
Builder forFileRequestReceiveFileDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected FileRequestDetails
fileRequestDetails
protected java.lang.String
fileRequestId
protected java.util.List<java.lang.String>
submittedFileNames
protected java.lang.String
submitterEmail
protected java.lang.String
submitterName
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(java.util.List<java.lang.String> submittedFileNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileRequestReceiveFileDetails
build()
Builds an instance ofFileRequestReceiveFileDetails
configured with this builder's valuesFileRequestReceiveFileDetails.Builder
withFileRequestDetails(FileRequestDetails fileRequestDetails)
Set value for optional field.FileRequestReceiveFileDetails.Builder
withFileRequestId(java.lang.String fileRequestId)
Set value for optional field.FileRequestReceiveFileDetails.Builder
withSubmitterEmail(java.lang.String submitterEmail)
Set value for optional field.FileRequestReceiveFileDetails.Builder
withSubmitterName(java.lang.String submitterName)
Set value for optional field.
-
-
-
Field Detail
-
submittedFileNames
protected final java.util.List<java.lang.String> submittedFileNames
-
fileRequestId
protected java.lang.String fileRequestId
-
fileRequestDetails
protected FileRequestDetails fileRequestDetails
-
submitterName
protected java.lang.String submitterName
-
submitterEmail
protected java.lang.String submitterEmail
-
-
Method Detail
-
withFileRequestId
public FileRequestReceiveFileDetails.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.
-
withFileRequestDetails
public FileRequestReceiveFileDetails.Builder withFileRequestDetails(FileRequestDetails fileRequestDetails)
Set value for optional field.- Parameters:
fileRequestDetails
- File request details. Might be missing due to historical data gap.- Returns:
- this builder
-
withSubmitterName
public FileRequestReceiveFileDetails.Builder withSubmitterName(java.lang.String submitterName)
Set value for optional field.- Parameters:
submitterName
- The name as provided by the submitter.- Returns:
- this builder
-
withSubmitterEmail
public FileRequestReceiveFileDetails.Builder withSubmitterEmail(java.lang.String submitterEmail)
Set value for optional field.- Parameters:
submitterEmail
- The email as provided by the submitter. Must have length of at most 255.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
build
public FileRequestReceiveFileDetails build()
Builds an instance ofFileRequestReceiveFileDetails
configured with this builder's values- Returns:
- new instance of
FileRequestReceiveFileDetails
-
-