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 ofRecordColumnobjects.recordColumns(Consumer<RecordColumn.Builder>... recordColumns) A list ofRecordColumnobjects.recordColumns(RecordColumn... recordColumns) A list ofRecordColumnobjects.recordEncoding(String recordEncoding) Specifies the encoding of the records in the streaming source.default SourceSchema.BuilderrecordFormat(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaRecordFormat.builder().When the
Consumercompletes,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
RecordColumnobjects.- Parameters:
 recordColumns- A list ofRecordColumnobjects.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
recordColumns
A list of
RecordColumnobjects.- Parameters:
 recordColumns- A list ofRecordColumnobjects.- 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 theRecordColumnobjects.RecordColumn.Builderavoiding the need to create one manually viaRecordColumn.builder().When the
Consumercompletes,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:
 
 
 -