Interface InputSchemaUpdate.Builder

    • 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.
      • 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 RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recordColumnUpdates

        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.

        Parameters:
        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.
        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 RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.

        This is a convenience method that creates an instance of the RecordColumn.Builder avoiding the need to create one manually via RecordColumn.builder() .

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #recordColumnUpdates(List).

        Parameters:
        recordColumnUpdates - a consumer that will call methods on RecordColumn.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #recordColumnUpdates(java.util.Collection)