Interface SourceSchema.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceSchema.Builder,
,SourceSchema> SdkBuilder<SourceSchema.Builder,
,SourceSchema> SdkPojo
- Enclosing class:
SourceSchema
public static interface SourceSchema.Builder
extends SdkPojo, CopyableBuilder<SourceSchema.Builder,SourceSchema>
-
Method Summary
Modifier and TypeMethodDescriptionrecordColumns
(Collection<RecordColumn> recordColumns) A list ofRecordColumn
objects.recordColumns
(Consumer<RecordColumn.Builder>... recordColumns) A list ofRecordColumn
objects.recordColumns
(RecordColumn... recordColumns) A list ofRecordColumn
objects.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.recordFormat
(RecordFormat recordFormat) Specifies the format of the records on the streaming source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
recordFormat
Specifies the format of the records on the streaming source.
- Parameters:
recordFormat
- Specifies the format of the records on the streaming source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRecordFormat.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecordFormat(RecordFormat)
.- Parameters:
recordFormat
- a consumer that will call methods onRecordFormat.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordEncoding
Specifies the encoding of the records in the streaming source. For example, UTF-8.
- Parameters:
recordEncoding
- Specifies the encoding of the records in the streaming source. For example, UTF-8.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordColumns
A list of
RecordColumn
objects.- Parameters:
recordColumns
- A list ofRecordColumn
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordColumns
A list of
RecordColumn
objects.- Parameters:
recordColumns
- A list ofRecordColumn
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordColumns
A list of
This is a convenience method that creates an instance of theRecordColumn
objects.RecordColumn.Builder
avoiding the need to create one manually viaRecordColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecordColumns(List<RecordColumn>)
.- Parameters:
recordColumns
- a consumer that will call methods onRecordColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-