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.
-
Field Summary
Fields inherited from class io.aiven.kafka.connect.common.config.AbstractFragmentSetter
self -
Method Summary
Modifier and TypeMethodDescriptionenvelopeEnabled(boolean envelopeEnabled) Sets the envelope enabled flag.withFormatType(FormatType formatType) Sets the format type.withOutputFieldEncodingType(OutputFieldEncodingType encodingType) Sets the output field encoding type.withOutputFields(OutputFieldType... outputFields) Sets the list of output fields.withOutputFields(List<OutputFieldType> outputFields) Sets the list of output fields.
-
Method Details
-
withFormatType
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
Sets the list of output fields.- Parameters:
outputFields- the list of output fields- Returns:
- this
-
withOutputFields
Sets the list of output fields.- Parameters:
outputFields- the list of output fields- Returns:
- this
-
envelopeEnabled
Sets the envelope enabled flag.- Parameters:
envelopeEnabled- the desired flag state.- Returns:
- this
-