Interface ListTablesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTablesResponse.Builder,
,ListTablesResponse> KeyspacesResponse.Builder
,SdkBuilder<ListTablesResponse.Builder,
,ListTablesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTablesResponse
@Mutable
@NotThreadSafe
public static interface ListTablesResponse.Builder
extends KeyspacesResponse.Builder, SdkPojo, CopyableBuilder<ListTablesResponse.Builder,ListTablesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token to specify where to start paginating.tables
(Collection<TableSummary> tables) A list of tables.tables
(Consumer<TableSummary.Builder>... tables) A list of tables.tables
(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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
A token to specify where to start paginating. This is the
NextToken
from a previously truncated response.- Parameters:
nextToken
- A token to specify where to start paginating. This is theNextToken
from a previously truncated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
A list of tables.
This is a convenience method that creates an instance of theTableSummary.Builder
avoiding the need to create one manually viaTableSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totables(List<TableSummary>)
.- 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:
-