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.BuildertableOptimizer(Consumer<TableOptimizer.Builder> tableOptimizer) ATableOptimizerobject that contains details on the configuration and last run of a table optimizer.tableOptimizer(TableOptimizer tableOptimizer) ATableOptimizerobject that contains details on the configuration and last run of a 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
-
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
TableOptimizerobject that contains details on the configuration and last run of a table optimizer.- Parameters:
tableOptimizer- ATableOptimizerobject that contains details on the configuration and last run of a table optimizer.- 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 theTableOptimizerobject that contains details on the configuration and last run of a table optimizer.TableOptimizer.Builderavoiding the need to create one manually viaTableOptimizer.builder().When the
Consumercompletes,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:
-