public static interface SourceSchema.Builder extends SdkPojo, CopyableBuilder<SourceSchema.Builder,SourceSchema>
| Modifier and Type | Method and Description |
|---|---|
SourceSchema.Builder |
recordColumns(Collection<RecordColumn> recordColumns)
A list of
RecordColumn objects. |
SourceSchema.Builder |
recordColumns(Consumer<RecordColumn.Builder>... recordColumns)
A list of
RecordColumn objects. |
SourceSchema.Builder |
recordColumns(RecordColumn... recordColumns)
A list of
RecordColumn objects. |
SourceSchema.Builder |
recordEncoding(String recordEncoding)
Specifies the encoding of the records in the streaming source.
|
default SourceSchema.Builder |
recordFormat(Consumer<RecordFormat.Builder> recordFormat)
Specifies the format of the records on the streaming source.
|
SourceSchema.Builder |
recordFormat(RecordFormat recordFormat)
Specifies the format of the records on the streaming source.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSourceSchema.Builder recordFormat(RecordFormat recordFormat)
Specifies the format of the records on the streaming source.
recordFormat - Specifies the format of the records on the streaming source.default SourceSchema.Builder recordFormat(Consumer<RecordFormat.Builder> recordFormat)
Specifies the format of the records on the streaming source.
This is a convenience method that creates an instance of theRecordFormat.Builder avoiding the need
to create one manually via RecordFormat.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to recordFormat(RecordFormat).
recordFormat - a consumer that will call methods on RecordFormat.BuilderrecordFormat(RecordFormat)SourceSchema.Builder recordEncoding(String recordEncoding)
Specifies the encoding of the records in the streaming source. For example, UTF-8.
recordEncoding - Specifies the encoding of the records in the streaming source. For example, UTF-8.SourceSchema.Builder recordColumns(Collection<RecordColumn> recordColumns)
A list of RecordColumn objects.
recordColumns - A list of RecordColumn objects.SourceSchema.Builder recordColumns(RecordColumn... recordColumns)
A list of RecordColumn objects.
recordColumns - A list of RecordColumn objects.SourceSchema.Builder recordColumns(Consumer<RecordColumn.Builder>... recordColumns)
A list of RecordColumn objects.
RecordColumn.Builder avoiding the need to
create one manually via RecordColumn.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #recordColumns(List.
recordColumns - a consumer that will call methods on
RecordColumn.Builder#recordColumns(java.util.Collection) Copyright © 2023. All rights reserved.