Interface InputSchemaUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InputSchemaUpdate.Builder,InputSchemaUpdate>,SdkBuilder<InputSchemaUpdate.Builder,InputSchemaUpdate>,SdkPojo
- Enclosing class:
- InputSchemaUpdate
public static interface InputSchemaUpdate.Builder extends SdkPojo, CopyableBuilder<InputSchemaUpdate.Builder,InputSchemaUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InputSchemaUpdate.BuilderrecordColumnUpdates(Collection<RecordColumn> recordColumnUpdates)A list ofRecordColumnobjects.InputSchemaUpdate.BuilderrecordColumnUpdates(Consumer<RecordColumn.Builder>... recordColumnUpdates)A list ofRecordColumnobjects.InputSchemaUpdate.BuilderrecordColumnUpdates(RecordColumn... recordColumnUpdates)A list ofRecordColumnobjects.InputSchemaUpdate.BuilderrecordEncodingUpdate(String recordEncodingUpdate)Specifies the encoding of the records in the streaming source; for example, UTF-8.default InputSchemaUpdate.BuilderrecordFormatUpdate(Consumer<RecordFormat.Builder> recordFormatUpdate)Specifies the format of the records on the streaming source.InputSchemaUpdate.BuilderrecordFormatUpdate(RecordFormat recordFormatUpdate)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 Detail
-
recordFormatUpdate
InputSchemaUpdate.Builder recordFormatUpdate(RecordFormat 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:
recordFormatUpdate(RecordFormat)
-
recordEncodingUpdate
InputSchemaUpdate.Builder recordEncodingUpdate(String 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
InputSchemaUpdate.Builder recordColumnUpdates(Collection<RecordColumn> 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(RecordColumn... 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 to#recordColumnUpdates(List.) - 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:
#recordColumnUpdates(java.util.Collection)
-
-