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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchTableOptimizer.Builder
catalogId(String catalogId)
The Catalog ID of the table.BatchTableOptimizer.Builder
databaseName(String databaseName)
The name of the database in the catalog in which the table resides.BatchTableOptimizer.Builder
tableName(String tableName)
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.BatchTableOptimizer.Builder
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 Detail
-
catalogId
BatchTableOptimizer.Builder catalogId(String 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
BatchTableOptimizer.Builder databaseName(String 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
BatchTableOptimizer.Builder tableName(String 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
BatchTableOptimizer.Builder tableOptimizer(TableOptimizer 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
default BatchTableOptimizer.Builder tableOptimizer(Consumer<TableOptimizer.Builder> 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:
tableOptimizer(TableOptimizer)
-
-