Interface CreateTableOptimizerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTableOptimizerRequest.Builder,,CreateTableOptimizerRequest> GlueRequest.Builder,SdkBuilder<CreateTableOptimizerRequest.Builder,,CreateTableOptimizerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTableOptimizerRequest
public static interface CreateTableOptimizerRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateTableOptimizerRequest.Builder,CreateTableOptimizerRequest>
-
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) ATableOptimizerConfigurationobject representing the configuration of a table optimizer.tableOptimizerConfiguration(TableOptimizerConfiguration tableOptimizerConfiguration) ATableOptimizerConfigurationobject 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods 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.
-
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
CreateTableOptimizerRequest.Builder tableOptimizerConfiguration(TableOptimizerConfiguration tableOptimizerConfiguration) A
TableOptimizerConfigurationobject representing the configuration of a table optimizer.- Parameters:
tableOptimizerConfiguration- ATableOptimizerConfigurationobject representing the configuration of a table optimizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableOptimizerConfiguration
default CreateTableOptimizerRequest.Builder tableOptimizerConfiguration(Consumer<TableOptimizerConfiguration.Builder> tableOptimizerConfiguration) A
This is a convenience method that creates an instance of theTableOptimizerConfigurationobject representing the configuration of 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 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
CreateTableOptimizerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateTableOptimizerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-