Interface ListTablesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTablesResponse.Builder,
,ListTablesResponse> RedshiftDataResponse.Builder
,SdkBuilder<ListTablesResponse.Builder,
,ListTablesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTablesResponse
public static interface ListTablesResponse.Builder
extends RedshiftDataResponse.Builder, SdkPojo, CopyableBuilder<ListTablesResponse.Builder,ListTablesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA value that indicates the starting point for the next set of response records in a subsequent request.tables
(Collection<TableMember> tables) The tables that match the request pattern.tables
(Consumer<TableMember.Builder>... tables) The tables that match the request pattern.tables
(TableMember... tables) The tables that match the request pattern.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftdata.model.RedshiftDataResponse.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
-
nextToken
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
- Parameters:
nextToken
- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tables
The tables that match the request pattern.
- Parameters:
tables
- The tables that match the request pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tables
The tables that match the request pattern.
- Parameters:
tables
- The tables that match the request pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tables
The tables that match the request pattern.
This is a convenience method that creates an instance of theTableMember.Builder
avoiding the need to create one manually viaTableMember.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totables(List<TableMember>)
.- Parameters:
tables
- a consumer that will call methods onTableMember.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-