Interface RecordFormat.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RecordFormat.Builder,RecordFormat>, SdkBuilder<RecordFormat.Builder,RecordFormat>, SdkPojo
Enclosing class:
RecordFormat

public static interface RecordFormat.Builder extends SdkPojo, CopyableBuilder<RecordFormat.Builder,RecordFormat>
  • Method Details

    • recordFormatType

      RecordFormat.Builder recordFormatType(String recordFormatType)

      The type of record format.

      Parameters:
      recordFormatType - The type of record format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recordFormatType

      RecordFormat.Builder recordFormatType(RecordFormatType recordFormatType)

      The type of record format.

      Parameters:
      recordFormatType - The type of record format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mappingParameters

      RecordFormat.Builder mappingParameters(MappingParameters mappingParameters)

      When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

      Parameters:
      mappingParameters - When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mappingParameters

      default RecordFormat.Builder mappingParameters(Consumer<MappingParameters.Builder> mappingParameters)

      When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mappingParameters(MappingParameters).

      Parameters:
      mappingParameters - a consumer that will call methods on MappingParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: