Interface GetTableOptimizerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTableOptimizerResponse.Builder,,GetTableOptimizerResponse> GlueResponse.Builder,SdkBuilder<GetTableOptimizerResponse.Builder,,GetTableOptimizerResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTableOptimizerResponse
public static interface GetTableOptimizerResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetTableOptimizerResponse.Builder,GetTableOptimizerResponse>
-
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.tableOptimizer(Consumer<TableOptimizer.Builder> tableOptimizer) The optimizer associated with the specified table.tableOptimizer(TableOptimizer tableOptimizer) The optimizer associated with the specified table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
The optimizer associated with the specified table.
- Parameters:
tableOptimizer- The optimizer associated with the specified table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableOptimizer
default GetTableOptimizerResponse.Builder tableOptimizer(Consumer<TableOptimizer.Builder> tableOptimizer) The optimizer associated with the specified table.
This is a convenience method that creates an instance of theTableOptimizer.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:
-