Interface ColumnStatisticsTaskSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ColumnStatisticsTaskSettings.Builder,
,ColumnStatisticsTaskSettings> SdkBuilder<ColumnStatisticsTaskSettings.Builder,
,ColumnStatisticsTaskSettings> SdkPojo
- Enclosing class:
ColumnStatisticsTaskSettings
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog in which the database resides.columnNameList
(String... columnNameList) A list of column names for which to run statistics.columnNameList
(Collection<String> columnNameList) A list of column names for which to run statistics.databaseName
(String databaseName) The name of the database where the table resides.lastExecutionAttempt
(Consumer<ExecutionAttempt.Builder> lastExecutionAttempt) The lastExecutionAttempt
for the column statistics task run.lastExecutionAttempt
(ExecutionAttempt lastExecutionAttempt) The lastExecutionAttempt
for the column statistics task run.The role used for running the column statistics.sampleSize
(Double sampleSize) The percentage of data to sample.schedule
(Consumer<Schedule.Builder> schedule) A schedule for running the column statistics, specified in CRON syntax.A schedule for running the column statistics, specified in CRON syntax.scheduleType
(String scheduleType) The type of schedule for a column statistics task.scheduleType
(ScheduleType scheduleType) The type of schedule for a column statistics task.securityConfiguration
(String securityConfiguration) Name of the security configuration that is used to encrypt CloudWatch logs.settingSource
(String settingSource) The source of setting the column statistics task.settingSource
(SettingSource settingSource) The source of setting the column statistics task.The name of the table for which to generate column statistics.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, sdkFieldNameToField, sdkFields
-
Method Details
-
databaseName
The name of the database where the table resides.
- Parameters:
databaseName
- The name of the database where the table resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the table for which to generate column statistics.
- Parameters:
tableName
- The name of the table for which to generate column statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
A schedule for running the column statistics, specified in CRON syntax.
- Parameters:
schedule
- A schedule for running the column statistics, specified in CRON syntax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
A schedule for running the column statistics, specified in CRON syntax.
This is a convenience method that creates an instance of theSchedule.Builder
avoiding the need to create one manually viaSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(Schedule)
.- Parameters:
schedule
- a consumer that will call methods onSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
columnNameList
A list of column names for which to run statistics.
- Parameters:
columnNameList
- A list of column names for which to run statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnNameList
A list of column names for which to run statistics.
- Parameters:
columnNameList
- A list of column names for which to run statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogID
The ID of the Data Catalog in which the database resides.
- Parameters:
catalogID
- The ID of the Data Catalog in which the database resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
The role used for running the column statistics.
- Parameters:
role
- The role used for running the column statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleSize
The percentage of data to sample.
- Parameters:
sampleSize
- The percentage of data to sample.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfiguration
Name of the security configuration that is used to encrypt CloudWatch logs.
- Parameters:
securityConfiguration
- Name of the security configuration that is used to encrypt CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleType
The type of schedule for a column statistics task. Possible values may be
CRON
orAUTO
.- Parameters:
scheduleType
- The type of schedule for a column statistics task. Possible values may beCRON
orAUTO
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduleType
The type of schedule for a column statistics task. Possible values may be
CRON
orAUTO
.- Parameters:
scheduleType
- The type of schedule for a column statistics task. Possible values may beCRON
orAUTO
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
settingSource
The source of setting the column statistics task. Possible values may be
CATALOG
orTABLE
.- Parameters:
settingSource
- The source of setting the column statistics task. Possible values may beCATALOG
orTABLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
settingSource
The source of setting the column statistics task. Possible values may be
CATALOG
orTABLE
.- Parameters:
settingSource
- The source of setting the column statistics task. Possible values may beCATALOG
orTABLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastExecutionAttempt
The last
ExecutionAttempt
for the column statistics task run.- Parameters:
lastExecutionAttempt
- The lastExecutionAttempt
for the column statistics task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastExecutionAttempt
default ColumnStatisticsTaskSettings.Builder lastExecutionAttempt(Consumer<ExecutionAttempt.Builder> lastExecutionAttempt) The last
This is a convenience method that creates an instance of theExecutionAttempt
for the column statistics task run.ExecutionAttempt.Builder
avoiding the need to create one manually viaExecutionAttempt.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastExecutionAttempt(ExecutionAttempt)
.- Parameters:
lastExecutionAttempt
- a consumer that will call methods onExecutionAttempt.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-