Interface TableOptimizer.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableOptimizer.Builder,,TableOptimizer> SdkBuilder<TableOptimizer.Builder,,TableOptimizer> SdkPojo
- Enclosing class:
TableOptimizer
-
Method Summary
Modifier and TypeMethodDescriptiondefault TableOptimizer.Builderconfiguration(Consumer<TableOptimizerConfiguration.Builder> configuration) ATableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.configuration(TableOptimizerConfiguration configuration) ATableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.default TableOptimizer.BuilderlastRun(Consumer<TableOptimizerRun.Builder> lastRun) ATableOptimizerRunobject representing the last run of the table optimizer.lastRun(TableOptimizerRun lastRun) ATableOptimizerRunobject representing the last run of the table optimizer.The type of table optimizer.type(TableOptimizerType type) The type of table optimizer.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
-
type
The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
- Parameters:
type- The type of table optimizer. The valid values are:-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
- Parameters:
type- The type of table optimizer. The valid values are:-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
configuration
A
TableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.- Parameters:
configuration- ATableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default TableOptimizer.Builder configuration(Consumer<TableOptimizerConfiguration.Builder> configuration) A
This is a convenience method that creates an instance of theTableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.TableOptimizerConfiguration.Builderavoiding the need to create one manually viaTableOptimizerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(TableOptimizerConfiguration).- Parameters:
configuration- a consumer that will call methods onTableOptimizerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRun
A
TableOptimizerRunobject representing the last run of the table optimizer.- Parameters:
lastRun- ATableOptimizerRunobject representing the last run of the table optimizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRun
A
This is a convenience method that creates an instance of theTableOptimizerRunobject representing the last run of the table optimizer.TableOptimizerRun.Builderavoiding the need to create one manually viaTableOptimizerRun.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastRun(TableOptimizerRun).- Parameters:
lastRun- a consumer that will call methods onTableOptimizerRun.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-