Interface BatchTableOptimizer.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchTableOptimizer.Builder,
,BatchTableOptimizer> SdkBuilder<BatchTableOptimizer.Builder,
,BatchTableOptimizer> SdkPojo
- Enclosing class:
BatchTableOptimizer
public static interface BatchTableOptimizer.Builder
extends SdkPojo, CopyableBuilder<BatchTableOptimizer.Builder,BatchTableOptimizer>
-
Method Summary
Modifier and TypeMethodDescriptionThe Catalog ID of the table.databaseName
(String databaseName) The name of the database in the catalog in which the table resides.The name of the table.default BatchTableOptimizer.Builder
tableOptimizer
(Consumer<TableOptimizer.Builder> tableOptimizer) ATableOptimizer
object that contains details on the configuration and last run of a table optimzer.tableOptimizer
(TableOptimizer tableOptimizer) ATableOptimizer
object that contains details on the configuration and last run of a table optimzer.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
-
catalogId
The Catalog ID of the table.
- Parameters:
catalogId
- The Catalog ID of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of the database in the catalog in which the table resides.
- Parameters:
databaseName
- The name of the database in the catalog in which the table resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the table.
- Parameters:
tableName
- The name of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableOptimizer
A
TableOptimizer
object that contains details on the configuration and last run of a table optimzer.- Parameters:
tableOptimizer
- ATableOptimizer
object that contains details on the configuration and last run of a table optimzer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableOptimizer
A
This is a convenience method that creates an instance of theTableOptimizer
object that contains details on the configuration and last run of a table optimzer.TableOptimizer.Builder
avoiding the need to create one manually viaTableOptimizer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totableOptimizer(TableOptimizer)
.- Parameters:
tableOptimizer
- a consumer that will call methods onTableOptimizer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-