Interface UpdateTableOptimizerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTableOptimizerRequest.Builder,
,UpdateTableOptimizerRequest> GlueRequest.Builder
,SdkBuilder<UpdateTableOptimizerRequest.Builder,
,UpdateTableOptimizerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateTableOptimizerRequest
public static interface UpdateTableOptimizerRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateTableOptimizerRequest.Builder,UpdateTableOptimizerRequest>
-
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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the table.tableOptimizerConfiguration
(Consumer<TableOptimizerConfiguration.Builder> tableOptimizerConfiguration) ATableOptimizerConfiguration
object representing the configuration of a table optimizer.tableOptimizerConfiguration
(TableOptimizerConfiguration tableOptimizerConfiguration) ATableOptimizerConfiguration
object representing the configuration of a table optimizer.The type of table optimizer.type
(TableOptimizerType type) The type of table optimizer.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
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.
-
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:
-
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:
-
tableOptimizerConfiguration
UpdateTableOptimizerRequest.Builder tableOptimizerConfiguration(TableOptimizerConfiguration tableOptimizerConfiguration) A
TableOptimizerConfiguration
object representing the configuration of a table optimizer.- Parameters:
tableOptimizerConfiguration
- ATableOptimizerConfiguration
object representing the configuration of a table optimizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableOptimizerConfiguration
default UpdateTableOptimizerRequest.Builder tableOptimizerConfiguration(Consumer<TableOptimizerConfiguration.Builder> tableOptimizerConfiguration) A
This is a convenience method that creates an instance of theTableOptimizerConfiguration
object representing the configuration of 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 totableOptimizerConfiguration(TableOptimizerConfiguration)
.- Parameters:
tableOptimizerConfiguration
- 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:
-
overrideConfiguration
UpdateTableOptimizerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateTableOptimizerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-