Interface DiscoverInputSchemaResponse.Builder

    • Method Detail

      • inputSchema

        DiscoverInputSchemaResponse.Builder inputSchema​(SourceSchema inputSchema)

        The schema inferred from the streaming source. It identifies the format of the data in the streaming source and how each data element maps to corresponding columns in the in-application stream that you can create.

        Parameters:
        inputSchema - The schema inferred from the streaming source. It identifies the format of the data in the streaming source and how each data element maps to corresponding columns in the in-application stream that you can create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parsedInputRecords

        DiscoverInputSchemaResponse.Builder parsedInputRecords​(Collection<? extends Collection<String>> parsedInputRecords)

        An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).

        Parameters:
        parsedInputRecords - An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parsedInputRecords

        DiscoverInputSchemaResponse.Builder parsedInputRecords​(Collection<String>... parsedInputRecords)

        An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).

        Parameters:
        parsedInputRecords - An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • processedInputRecords

        DiscoverInputSchemaResponse.Builder processedInputRecords​(Collection<String> processedInputRecords)

        The stream data that was modified by the processor specified in the InputProcessingConfiguration parameter.

        Parameters:
        processedInputRecords - The stream data that was modified by the processor specified in the InputProcessingConfiguration parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • processedInputRecords

        DiscoverInputSchemaResponse.Builder processedInputRecords​(String... processedInputRecords)

        The stream data that was modified by the processor specified in the InputProcessingConfiguration parameter.

        Parameters:
        processedInputRecords - The stream data that was modified by the processor specified in the InputProcessingConfiguration parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rawInputRecords

        DiscoverInputSchemaResponse.Builder rawInputRecords​(Collection<String> rawInputRecords)

        The raw stream data that was sampled to infer the schema.

        Parameters:
        rawInputRecords - The raw stream data that was sampled to infer the schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rawInputRecords

        DiscoverInputSchemaResponse.Builder rawInputRecords​(String... rawInputRecords)

        The raw stream data that was sampled to infer the schema.

        Parameters:
        rawInputRecords - The raw stream data that was sampled to infer the schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.