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.BuilderstatisticsData(Consumer<ColumnStatisticsData.Builder> statisticsData) AColumnStatisticDataobject that contains the statistics data values.statisticsData(ColumnStatisticsData statisticsData) AColumnStatisticDataobject that contains the statistics data values.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
ColumnStatisticDataobject that contains the statistics data values.- Parameters:
statisticsData- AColumnStatisticDataobject 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 theColumnStatisticDataobject that contains the statistics data values.ColumnStatisticsData.Builderavoiding the need to create one manually viaColumnStatisticsData.builder().When the
Consumercompletes,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:
-