Class DefaultRequestUploadData.Builder
java.lang.Object
de.xima.fc.common.form_record.chat.DefaultRequestUploadData.Builder
- Enclosing class:
DefaultRequestUploadData
A builder for
IRequestUploadData.- Since:
- 8.2.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newIRequestUploadDatainstance.fileMergeMode(EUploadRequestFileMergeMode fileMergeMode) File merge mode for the upload request.formFieldName(String formFieldName) Optional.repetitionId(Integer repetitionIndex) Optional.repetitionId(Long repetitionId) Optional.
-
Method Details
-
build
Creates a newIRequestUploadDatainstance. Any modifications to this builder after calling this method will not affect the returned instance.- Returns:
- A new
IRequestUploadDatainstance.
-
fileMergeMode
File merge mode for the upload request.- Parameters:
fileMergeMode- File merge mode for the upload request.- Returns:
- This builder for chaining method calls.
-
formFieldName
Optional. Name of an upload form field associated with the upload request. May be null or empty if the upload request is not associated with a form field.- Returns:
- This builder for chaining method calls.
-
repetitionId
Optional. Index of the repetition of the upload request. May be null if the upload request is not repeated. Note that ID is not the ordinal index of the repetition, but a unique identifier. An ordinal index starts at 0 is continuous (0,1,2,3,4...), while an ID may be any unique value.- Parameters:
repetitionId- Index of the repetition of the upload request.- Returns:
- This builder for chaining method calls.
-
repetitionId
Optional. Index of the repetition of the upload request. May be null if the upload request is not repeated. Note that ID is not the ordinal index of the repetition, but a unique identifier. An ordinal index starts at 0 is continuous (0,1,2,3,4...), while an ID may be any unique value.- Parameters:
repetitionIndex- Index of the repetition of the upload request.- Returns:
- This builder for chaining method calls.
-