Interface InputSchemaUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InputSchemaUpdate.Builder,,InputSchemaUpdate> SdkBuilder<InputSchemaUpdate.Builder,,InputSchemaUpdate> SdkPojo
- Enclosing class:
InputSchemaUpdate
-
Method Summary
Modifier and TypeMethodDescriptionrecordColumnUpdates(Collection<RecordColumn> recordColumnUpdates) A list ofRecordColumnobjects.recordColumnUpdates(Consumer<RecordColumn.Builder>... recordColumnUpdates) A list ofRecordColumnobjects.recordColumnUpdates(RecordColumn... recordColumnUpdates) A list ofRecordColumnobjects.recordEncodingUpdate(String recordEncodingUpdate) Specifies the encoding of the records in the streaming source.default InputSchemaUpdate.BuilderrecordFormatUpdate(Consumer<RecordFormat.Builder> recordFormatUpdate) Specifies the format of the records on the streaming source.recordFormatUpdate(RecordFormat recordFormatUpdate) 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
-
recordFormatUpdate
Specifies the format of the records on the streaming source.
- Parameters:
recordFormatUpdate- 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.
-
recordFormatUpdate
default InputSchemaUpdate.Builder recordFormatUpdate(Consumer<RecordFormat.Builder> recordFormatUpdate) 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 torecordFormatUpdate(RecordFormat).- Parameters:
recordFormatUpdate- 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:
-
recordEncodingUpdate
Specifies the encoding of the records in the streaming source. For example, UTF-8.
- Parameters:
recordEncodingUpdate- 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.
-
recordColumnUpdates
A list of
RecordColumnobjects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.- Parameters:
recordColumnUpdates- A list ofRecordColumnobjects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordColumnUpdates
A list of
RecordColumnobjects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.- Parameters:
recordColumnUpdates- A list ofRecordColumnobjects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordColumnUpdates
InputSchemaUpdate.Builder recordColumnUpdates(Consumer<RecordColumn.Builder>... recordColumnUpdates) A list of
This is a convenience method that creates an instance of theRecordColumnobjects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.RecordColumn.Builderavoiding the need to create one manually viaRecordColumn.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecordColumnUpdates(List<RecordColumn>).- Parameters:
recordColumnUpdates- 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:
-