Interface ListTablesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTablesResponse.Builder,ListTablesResponse>,KeyspacesResponse.Builder,SdkBuilder<ListTablesResponse.Builder,ListTablesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListTablesResponse
public static interface ListTablesResponse.Builder extends KeyspacesResponse.Builder, SdkPojo, CopyableBuilder<ListTablesResponse.Builder,ListTablesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTablesResponse.BuildernextToken(String nextToken)A token to specify where to start paginating.ListTablesResponse.Buildertables(Collection<TableSummary> tables)A list of tables.ListTablesResponse.Buildertables(Consumer<TableSummary.Builder>... tables)A list of tables.ListTablesResponse.Buildertables(TableSummary... tables)A list of tables.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.keyspaces.model.KeyspacesResponse.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 Detail
-
nextToken
ListTablesResponse.Builder nextToken(String nextToken)
A token to specify where to start paginating. This is the
NextTokenfrom a previously truncated response.- Parameters:
nextToken- A token to specify where to start paginating. This is theNextTokenfrom a previously truncated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tables
ListTablesResponse.Builder tables(Collection<TableSummary> tables)
A list of tables.
- Parameters:
tables- A list of tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tables
ListTablesResponse.Builder tables(TableSummary... tables)
A list of tables.
- Parameters:
tables- A list of tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tables
ListTablesResponse.Builder tables(Consumer<TableSummary.Builder>... tables)
A list of tables.
This is a convenience method that creates an instance of theTableSummary.Builderavoiding the need to create one manually viaTableSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tables(List.) - Parameters:
tables- a consumer that will call methods onTableSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tables(java.util.Collection)
-
-