Interface ColumnStatisticsTaskSettings.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ColumnStatisticsTaskSettings.Builder,ColumnStatisticsTaskSettings>,SdkBuilder<ColumnStatisticsTaskSettings.Builder,ColumnStatisticsTaskSettings>,SdkPojo
- Enclosing class:
- ColumnStatisticsTaskSettings
public static interface ColumnStatisticsTaskSettings.Builder extends SdkPojo, CopyableBuilder<ColumnStatisticsTaskSettings.Builder,ColumnStatisticsTaskSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ColumnStatisticsTaskSettings.BuildercatalogID(String catalogID)The ID of the Data Catalog in which the database resides.ColumnStatisticsTaskSettings.BuildercolumnNameList(String... columnNameList)A list of column names for which to run statistics.ColumnStatisticsTaskSettings.BuildercolumnNameList(Collection<String> columnNameList)A list of column names for which to run statistics.ColumnStatisticsTaskSettings.BuilderdatabaseName(String databaseName)The name of the database where the table resides.default ColumnStatisticsTaskSettings.BuilderlastExecutionAttempt(Consumer<ExecutionAttempt.Builder> lastExecutionAttempt)The lastExecutionAttemptfor the column statistics task run.ColumnStatisticsTaskSettings.BuilderlastExecutionAttempt(ExecutionAttempt lastExecutionAttempt)The lastExecutionAttemptfor the column statistics task run.ColumnStatisticsTaskSettings.Builderrole(String role)The role used for running the column statistics.ColumnStatisticsTaskSettings.BuildersampleSize(Double sampleSize)The percentage of data to sample.default ColumnStatisticsTaskSettings.Builderschedule(Consumer<Schedule.Builder> schedule)A schedule for running the column statistics, specified in CRON syntax.ColumnStatisticsTaskSettings.Builderschedule(Schedule schedule)A schedule for running the column statistics, specified in CRON syntax.ColumnStatisticsTaskSettings.BuilderscheduleType(String scheduleType)The type of schedule for a column statistics task.ColumnStatisticsTaskSettings.BuilderscheduleType(ScheduleType scheduleType)The type of schedule for a column statistics task.ColumnStatisticsTaskSettings.BuildersecurityConfiguration(String securityConfiguration)Name of the security configuration that is used to encrypt CloudWatch logs.ColumnStatisticsTaskSettings.BuildersettingSource(String settingSource)The source of setting the column statistics task.ColumnStatisticsTaskSettings.BuildersettingSource(SettingSource settingSource)The source of setting the column statistics task.ColumnStatisticsTaskSettings.BuildertableName(String tableName)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 Detail
-
databaseName
ColumnStatisticsTaskSettings.Builder databaseName(String 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
ColumnStatisticsTaskSettings.Builder tableName(String 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
ColumnStatisticsTaskSettings.Builder schedule(Schedule 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
default ColumnStatisticsTaskSettings.Builder schedule(Consumer<Schedule.Builder> schedule)
A schedule for running the column statistics, specified in CRON syntax.
This is a convenience method that creates an instance of theSchedule.Builderavoiding the need to create one manually viaSchedule.builder().When the
Consumercompletes,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:
schedule(Schedule)
-
columnNameList
ColumnStatisticsTaskSettings.Builder columnNameList(Collection<String> 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
ColumnStatisticsTaskSettings.Builder columnNameList(String... 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
ColumnStatisticsTaskSettings.Builder catalogID(String 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
ColumnStatisticsTaskSettings.Builder role(String 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
ColumnStatisticsTaskSettings.Builder sampleSize(Double 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
ColumnStatisticsTaskSettings.Builder securityConfiguration(String 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
ColumnStatisticsTaskSettings.Builder scheduleType(String scheduleType)
The type of schedule for a column statistics task. Possible values may be
CRONorAUTO.- Parameters:
scheduleType- The type of schedule for a column statistics task. Possible values may beCRONorAUTO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ScheduleType,ScheduleType
-
scheduleType
ColumnStatisticsTaskSettings.Builder scheduleType(ScheduleType scheduleType)
The type of schedule for a column statistics task. Possible values may be
CRONorAUTO.- Parameters:
scheduleType- The type of schedule for a column statistics task. Possible values may beCRONorAUTO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ScheduleType,ScheduleType
-
settingSource
ColumnStatisticsTaskSettings.Builder settingSource(String settingSource)
The source of setting the column statistics task. Possible values may be
CATALOGorTABLE.- Parameters:
settingSource- The source of setting the column statistics task. Possible values may beCATALOGorTABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SettingSource,SettingSource
-
settingSource
ColumnStatisticsTaskSettings.Builder settingSource(SettingSource settingSource)
The source of setting the column statistics task. Possible values may be
CATALOGorTABLE.- Parameters:
settingSource- The source of setting the column statistics task. Possible values may beCATALOGorTABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SettingSource,SettingSource
-
lastExecutionAttempt
ColumnStatisticsTaskSettings.Builder lastExecutionAttempt(ExecutionAttempt lastExecutionAttempt)
The last
ExecutionAttemptfor the column statistics task run.- Parameters:
lastExecutionAttempt- The lastExecutionAttemptfor 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 theExecutionAttemptfor the column statistics task run.ExecutionAttempt.Builderavoiding the need to create one manually viaExecutionAttempt.builder().When the
Consumercompletes,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:
lastExecutionAttempt(ExecutionAttempt)
-
-