public static class FileRequestReceiveFileDetails.Builder
extends java.lang.Object
FileRequestReceiveFileDetails
.Modifier and Type | Field and 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 |
Modifier | Constructor and Description |
---|---|
protected |
Builder(java.util.List<java.lang.String> submittedFileNames) |
Modifier and Type | Method and Description |
---|---|
FileRequestReceiveFileDetails |
build()
Builds an instance of
FileRequestReceiveFileDetails
configured with this builder's values |
FileRequestReceiveFileDetails.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.
|
protected final java.util.List<java.lang.String> submittedFileNames
protected java.lang.String fileRequestId
protected FileRequestDetails fileRequestDetails
protected java.lang.String submitterName
protected java.lang.String submitterEmail
public FileRequestReceiveFileDetails.Builder withFileRequestId(java.lang.String fileRequestId)
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]+
".java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public FileRequestReceiveFileDetails.Builder withFileRequestDetails(FileRequestDetails fileRequestDetails)
fileRequestDetails
- File request details. Might be missing due
to historical data gap.public FileRequestReceiveFileDetails.Builder withSubmitterName(java.lang.String submitterName)
submitterName
- The name as provided by the submitter. Might be
missing due to historical data gap.public FileRequestReceiveFileDetails.Builder withSubmitterEmail(java.lang.String submitterEmail)
submitterEmail
- The email as provided by the submitter. Might
be missing due to historical data gap. Must have length of at
most 255.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public FileRequestReceiveFileDetails build()
FileRequestReceiveFileDetails
configured with this builder's valuesFileRequestReceiveFileDetails