Interface GetTableVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTableVersionsResponse.Builder,
,GetTableVersionsResponse> GlueResponse.Builder
,SdkBuilder<GetTableVersionsResponse.Builder,
,GetTableVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTableVersionsResponse
public static interface GetTableVersionsResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetTableVersionsResponse.Builder,GetTableVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA continuation token, if the list of available versions does not include the last one.tableVersions
(Collection<TableVersion> tableVersions) A list of strings identifying available versions of the specified table.tableVersions
(Consumer<TableVersion.Builder>... tableVersions) A list of strings identifying available versions of the specified table.tableVersions
(TableVersion... tableVersions) A list of strings identifying available versions of the specified 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
-
tableVersions
A list of strings identifying available versions of the specified table.
- Parameters:
tableVersions
- A list of strings identifying available versions of the specified table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableVersions
A list of strings identifying available versions of the specified table.
- Parameters:
tableVersions
- A list of strings identifying available versions of the specified table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableVersions
A list of strings identifying available versions of the specified table.
This is a convenience method that creates an instance of theTableVersion.Builder
avoiding the need to create one manually viaTableVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totableVersions(List<TableVersion>)
.- Parameters:
tableVersions
- a consumer that will call methods onTableVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A continuation token, if the list of available versions does not include the last one.
- Parameters:
nextToken
- A continuation token, if the list of available versions does not include the last one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-