Interface ListTableOptimizerRunsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTableOptimizerRunsResponse.Builder,
,ListTableOptimizerRunsResponse> GlueResponse.Builder
,SdkBuilder<ListTableOptimizerRunsResponse.Builder,
,ListTableOptimizerRunsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTableOptimizerRunsResponse
public static interface ListTableOptimizerRunsResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<ListTableOptimizerRunsResponse.Builder,ListTableOptimizerRunsResponse>
-
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.A continuation token for paginating the returned list of optimizer runs, returned if the current segment of the list is not the last.The name of the table.tableOptimizerRuns
(Collection<TableOptimizerRun> tableOptimizerRuns) A list of the optimizer runs associated with a table.tableOptimizerRuns
(Consumer<TableOptimizerRun.Builder>... tableOptimizerRuns) A list of the optimizer runs associated with a table.tableOptimizerRuns
(TableOptimizerRun... tableOptimizerRuns) A list of the optimizer runs associated with a table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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.
-
nextToken
A continuation token for paginating the returned list of optimizer runs, returned if the current segment of the list is not the last.
- Parameters:
nextToken
- A continuation token for paginating the returned list of optimizer runs, returned if the current segment of the list is not the last.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableOptimizerRuns
ListTableOptimizerRunsResponse.Builder tableOptimizerRuns(Collection<TableOptimizerRun> tableOptimizerRuns) A list of the optimizer runs associated with a table.
- Parameters:
tableOptimizerRuns
- A list of the optimizer runs associated with a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableOptimizerRuns
A list of the optimizer runs associated with a table.
- Parameters:
tableOptimizerRuns
- A list of the optimizer runs associated with a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableOptimizerRuns
ListTableOptimizerRunsResponse.Builder tableOptimizerRuns(Consumer<TableOptimizerRun.Builder>... tableOptimizerRuns) A list of the optimizer runs associated with a table.
This is a convenience method that creates an instance of theTableOptimizerRun.Builder
avoiding the need to create one manually viaTableOptimizerRun.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totableOptimizerRuns(List<TableOptimizerRun>)
.- Parameters:
tableOptimizerRuns
- a consumer that will call methods onTableOptimizerRun.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-