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