public static class FileRequestCreateDetails.Builder
extends java.lang.Object
FileRequestCreateDetails
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fileRequestId |
protected FileRequestDetails |
requestDetails |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
FileRequestCreateDetails |
build()
Builds an instance of
FileRequestCreateDetails configured
with this builder's values |
FileRequestCreateDetails.Builder |
withFileRequestId(java.lang.String fileRequestId)
Set value for optional field.
|
FileRequestCreateDetails.Builder |
withRequestDetails(FileRequestDetails requestDetails)
Set value for optional field.
|
protected java.lang.String fileRequestId
protected FileRequestDetails requestDetails
public FileRequestCreateDetails.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 FileRequestCreateDetails.Builder withRequestDetails(FileRequestDetails requestDetails)
requestDetails
- File request details. Might be missing due to
historical data gap.public FileRequestCreateDetails build()
FileRequestCreateDetails
configured
with this builder's valuesFileRequestCreateDetails