Interface TableOptimizer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TableOptimizer.Builder,TableOptimizer>,SdkBuilder<TableOptimizer.Builder,TableOptimizer>,SdkPojo
- Enclosing class:
- TableOptimizer
public static interface TableOptimizer.Builder extends SdkPojo, CopyableBuilder<TableOptimizer.Builder,TableOptimizer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TableOptimizer.Builderconfiguration(Consumer<TableOptimizerConfiguration.Builder> configuration)ATableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.TableOptimizer.Builderconfiguration(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.TableOptimizer.BuilderlastRun(TableOptimizerRun lastRun)ATableOptimizerRunobject representing the last run of the table optimizer.TableOptimizer.Buildertype(String type)The type of table optimizer.TableOptimizer.Buildertype(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 Detail
-
type
TableOptimizer.Builder type(String type)
The type of table optimizer. Currently, the only valid value is
compaction.- Parameters:
type- The type of table optimizer. Currently, the only valid value iscompaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TableOptimizerType,TableOptimizerType
-
type
TableOptimizer.Builder type(TableOptimizerType type)
The type of table optimizer. Currently, the only valid value is
compaction.- Parameters:
type- The type of table optimizer. Currently, the only valid value iscompaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TableOptimizerType,TableOptimizerType
-
configuration
TableOptimizer.Builder configuration(TableOptimizerConfiguration 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:
configuration(TableOptimizerConfiguration)
-
lastRun
TableOptimizer.Builder lastRun(TableOptimizerRun 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
default TableOptimizer.Builder lastRun(Consumer<TableOptimizerRun.Builder> 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:
lastRun(TableOptimizerRun)
-
-