CopyableBuilder<SourceSchema.Builder,SourceSchema>
, SdkBuilder<SourceSchema.Builder,SourceSchema>
public static interface SourceSchema.Builder extends CopyableBuilder<SourceSchema.Builder,SourceSchema>
Modifier and Type | Method | Description |
---|---|---|
SourceSchema.Builder |
recordColumns(Collection<RecordColumn> 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.
|
SourceSchema.Builder |
recordFormat(RecordFormat recordFormat) |
Specifies the format of the records on the streaming source.
|
copy
apply, build
SourceSchema.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.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.
NOTE: This method appends the values to the existing list (if any). Use
#setRecordColumns(java.util.Collection)
or #withRecordColumns(java.util.Collection)
if you
want to override the existing values.
recordColumns
- A list of RecordColumn
objects.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.