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 subsequentListStreamsrequest.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
copyMethods inherited from interface software.amazon.awssdk.services.keyspacesstreams.model.KeyspacesStreamsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaStream.builder().When the
Consumercompletes,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
ListStreamsrequest. This token is returned if the response contains more streams than can be returned in a single response based on theMaxResultsparameter.- Parameters:
nextToken- A pagination token that can be used in a subsequentListStreamsrequest. This token is returned if the response contains more streams than can be returned in a single response based on theMaxResultsparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-