Interface ColumnStatistics.Builder

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

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

    • columnName

      ColumnStatistics.Builder columnName(String columnName)

      Name of column which statistics belong to.

      Parameters:
      columnName - Name of column which statistics belong to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columnType

      ColumnStatistics.Builder columnType(String columnType)

      The data type of the column.

      Parameters:
      columnType - The data type of the column.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • analyzedTime

      ColumnStatistics.Builder analyzedTime(Instant analyzedTime)

      The timestamp of when column statistics were generated.

      Parameters:
      analyzedTime - The timestamp of when column statistics were generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statisticsData

      ColumnStatistics.Builder statisticsData(ColumnStatisticsData statisticsData)

      A ColumnStatisticData object that contains the statistics data values.

      Parameters:
      statisticsData - A ColumnStatisticData object that contains the statistics data values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statisticsData

      default ColumnStatistics.Builder statisticsData(Consumer<ColumnStatisticsData.Builder> statisticsData)

      A ColumnStatisticData object that contains the statistics data values.

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

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

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