Interface TimestreamConfiguration.Builder

    • Method Detail

      • databaseName

        TimestreamConfiguration.Builder databaseName​(String databaseName)

        Name of Timestream database to which the query result will be written.

        Parameters:
        databaseName - Name of Timestream database to which the query result will be written.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tableName

        TimestreamConfiguration.Builder tableName​(String tableName)

        Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.

        Parameters:
        tableName - Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeColumn

        TimestreamConfiguration.Builder timeColumn​(String timeColumn)

        Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.

        Parameters:
        timeColumn - Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensionMappings

        TimestreamConfiguration.Builder dimensionMappings​(Collection<DimensionMapping> dimensionMappings)

        This is to allow mapping column(s) from the query result to the dimension in the destination table.

        Parameters:
        dimensionMappings - This is to allow mapping column(s) from the query result to the dimension in the destination table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensionMappings

        TimestreamConfiguration.Builder dimensionMappings​(DimensionMapping... dimensionMappings)

        This is to allow mapping column(s) from the query result to the dimension in the destination table.

        Parameters:
        dimensionMappings - This is to allow mapping column(s) from the query result to the dimension in the destination table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • multiMeasureMappings

        TimestreamConfiguration.Builder multiMeasureMappings​(MultiMeasureMappings multiMeasureMappings)

        Multi-measure mappings.

        Parameters:
        multiMeasureMappings - Multi-measure mappings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mixedMeasureMappings

        TimestreamConfiguration.Builder mixedMeasureMappings​(Collection<MixedMeasureMapping> mixedMeasureMappings)

        Specifies how to map measures to multi-measure records.

        Parameters:
        mixedMeasureMappings - Specifies how to map measures to multi-measure records.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mixedMeasureMappings

        TimestreamConfiguration.Builder mixedMeasureMappings​(MixedMeasureMapping... mixedMeasureMappings)

        Specifies how to map measures to multi-measure records.

        Parameters:
        mixedMeasureMappings - Specifies how to map measures to multi-measure records.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • measureNameColumn

        TimestreamConfiguration.Builder measureNameColumn​(String measureNameColumn)

        Name of the measure column.

        Parameters:
        measureNameColumn - Name of the measure column.
        Returns:
        Returns a reference to this object so that method calls can be chained together.