public static interface InputSchemaUpdate.Builder extends CopyableBuilder<InputSchemaUpdate.Builder,InputSchemaUpdate>
Modifier and Type | Method and Description |
---|---|
InputSchemaUpdate.Builder |
recordColumnUpdates(Collection<RecordColumn> recordColumnUpdates)
A list of
RecordColumn objects. |
InputSchemaUpdate.Builder |
recordColumnUpdates(RecordColumn... recordColumnUpdates)
A list of
RecordColumn objects. |
InputSchemaUpdate.Builder |
recordEncodingUpdate(String recordEncodingUpdate)
Specifies the encoding of the records in the streaming source.
|
default InputSchemaUpdate.Builder |
recordFormatUpdate(Consumer<RecordFormat.Builder> recordFormatUpdate)
Specifies the format of the records on the streaming source.
|
InputSchemaUpdate.Builder |
recordFormatUpdate(RecordFormat recordFormatUpdate)
Specifies the format of the records on the streaming source.
|
copy
apply, build
InputSchemaUpdate.Builder recordFormatUpdate(RecordFormat recordFormatUpdate)
Specifies the format of the records on the streaming source.
recordFormatUpdate
- Specifies the format of the records on the streaming source.default InputSchemaUpdate.Builder recordFormatUpdate(Consumer<RecordFormat.Builder> recordFormatUpdate)
Specifies the format of the records on the streaming source.
This is a convenience 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 recordFormatUpdate(RecordFormat)
.recordFormatUpdate
- a consumer that will call methods on RecordFormat.Builder
recordFormatUpdate(RecordFormat)
InputSchemaUpdate.Builder recordEncodingUpdate(String recordEncodingUpdate)
Specifies the encoding of the records in the streaming source. For example, UTF-8.
recordEncodingUpdate
- Specifies the encoding of the records in the streaming source. For example, UTF-8.InputSchemaUpdate.Builder recordColumnUpdates(Collection<RecordColumn> recordColumnUpdates)
A list of RecordColumn
objects. Each object describes the mapping of the streaming source
element to the corresponding column in the in-application stream.
recordColumnUpdates
- A list of RecordColumn
objects. Each object describes the mapping of the streaming source
element to the corresponding column in the in-application stream.InputSchemaUpdate.Builder recordColumnUpdates(RecordColumn... recordColumnUpdates)
A list of RecordColumn
objects. Each object describes the mapping of the streaming source
element to the corresponding column in the in-application stream.
recordColumnUpdates
- A list of RecordColumn
objects. Each object describes the mapping of the streaming source
element to the corresponding column in the in-application stream.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.