Interface TableOptimizer.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TableOptimizer.Builder,
,TableOptimizer> SdkBuilder<TableOptimizer.Builder,
,TableOptimizer> SdkPojo
- Enclosing class:
TableOptimizer
-
Method Summary
Modifier and TypeMethodDescriptiondefault TableOptimizer.Builder
configuration
(Consumer<TableOptimizerConfiguration.Builder> configuration) ATableOptimizerConfiguration
object that was specified when creating or updating a table optimizer.configuration
(TableOptimizerConfiguration configuration) ATableOptimizerConfiguration
object that was specified when creating or updating a table optimizer.default TableOptimizer.Builder
lastRun
(Consumer<TableOptimizerRun.Builder> lastRun) ATableOptimizerRun
object representing the last run of the table optimizer.lastRun
(TableOptimizerRun lastRun) ATableOptimizerRun
object 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
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
-
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
TableOptimizerConfiguration
object that was specified when creating or updating a table optimizer.- Parameters:
configuration
- ATableOptimizerConfiguration
object 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 theTableOptimizerConfiguration
object that was specified when creating or updating a table optimizer.TableOptimizerConfiguration.Builder
avoiding the need to create one manually viaTableOptimizerConfiguration.builder()
.When the
Consumer
completes,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
TableOptimizerRun
object representing the last run of the table optimizer.- Parameters:
lastRun
- ATableOptimizerRun
object 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 theTableOptimizerRun
object representing the last run of the table optimizer.TableOptimizerRun.Builder
avoiding the need to create one manually viaTableOptimizerRun.builder()
.When the
Consumer
completes,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:
-