Class OutputFormatFragment.Setter

java.lang.Object
io.aiven.kafka.connect.common.config.AbstractFragmentSetter<OutputFormatFragment.Setter>
io.aiven.kafka.connect.common.config.OutputFormatFragment.Setter
Enclosing class:
OutputFormatFragment

public static class OutputFormatFragment.Setter extends AbstractFragmentSetter<OutputFormatFragment.Setter>
The setter for OutputFormatFragment.
  • Method Details

    • withFormatType

      public OutputFormatFragment.Setter withFormatType(FormatType formatType)
      Sets the format type.
      Parameters:
      formatType - the format type.
      Returns:
      this
    • withOutputFieldEncodingType

      public OutputFormatFragment.Setter withOutputFieldEncodingType(OutputFieldEncodingType encodingType)
      Sets the output field encoding type.
      Parameters:
      encodingType - the output field encoding type.
      Returns:
      this
    • withOutputFields

      public OutputFormatFragment.Setter withOutputFields(List<OutputFieldType> outputFields)
      Sets the list of output fields.
      Parameters:
      outputFields - the list of output fields
      Returns:
      this
    • withOutputFields

      public OutputFormatFragment.Setter withOutputFields(OutputFieldType... outputFields)
      Sets the list of output fields.
      Parameters:
      outputFields - the list of output fields
      Returns:
      this
    • envelopeEnabled

      public OutputFormatFragment.Setter envelopeEnabled(boolean envelopeEnabled)
      Sets the envelope enabled flag.
      Parameters:
      envelopeEnabled - the desired flag state.
      Returns:
      this