Class DefaultRequestUploadData.Builder

java.lang.Object
de.xima.fc.common.form_record.chat.DefaultRequestUploadData.Builder
Enclosing class:
DefaultRequestUploadData

public static final class DefaultRequestUploadData.Builder extends Object
A builder for IRequestUploadData.
Since:
8.2.0
  • Method Details

    • build

      public IRequestUploadData build()
      Creates a new IRequestUploadData instance. Any modifications to this builder after calling this method will not affect the returned instance.
      Returns:
      A new IRequestUploadData instance.
    • fileMergeMode

      public DefaultRequestUploadData.Builder fileMergeMode(EUploadRequestFileMergeMode 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

      public DefaultRequestUploadData.Builder formFieldName(String 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

      public DefaultRequestUploadData.Builder repetitionId(Long 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

      public DefaultRequestUploadData.Builder repetitionId(Integer repetitionIndex)
      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.