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