Interface ListStreamsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListStreamsResponse.Builder,
,ListStreamsResponse> KeyspacesStreamsResponse.Builder
,SdkBuilder<ListStreamsResponse.Builder,
,ListStreamsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListStreamsResponse
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token that can be used in a subsequentListStreams
request.streams
(Collection<Stream> streams) An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information.streams
(Consumer<Stream.Builder>... streams) An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information.An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.keyspacesstreams.model.KeyspacesStreamsResponse.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
-
streams
An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.
- Parameters:
streams
- An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.
- Parameters:
streams
- An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.
This is a convenience method that creates an instance of theStream.Builder
avoiding the need to create one manually viaStream.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreams(List<Stream>)
.- Parameters:
streams
- a consumer that will call methods onStream.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that can be used in a subsequent
ListStreams
request. This token is returned if the response contains more streams than can be returned in a single response based on theMaxResults
parameter.- Parameters:
nextToken
- A pagination token that can be used in a subsequentListStreams
request. This token is returned if the response contains more streams than can be returned in a single response based on theMaxResults
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-