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 Summary
Modifier and TypeMethodDescriptionanalyzedTime
(Instant analyzedTime) The timestamp of when column statistics were generated.columnName
(String columnName) Name of column which statistics belong to.columnType
(String columnType) The data type of the column.default ColumnStatistics.Builder
statisticsData
(Consumer<ColumnStatisticsData.Builder> statisticsData) AColumnStatisticData
object that contains the statistics data values.statisticsData
(ColumnStatisticsData statisticsData) AColumnStatisticData
object that contains the statistics data values.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
A
ColumnStatisticData
object that contains the statistics data values.- Parameters:
statisticsData
- AColumnStatisticData
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
This is a convenience method that creates an instance of theColumnStatisticData
object that contains the statistics data values.ColumnStatisticsData.Builder
avoiding the need to create one manually viaColumnStatisticsData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatisticsData(ColumnStatisticsData)
.- Parameters:
statisticsData
- a consumer that will call methods onColumnStatisticsData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-