public static interface ListStreamsResponse.Builder extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<ListStreamsResponse.Builder,ListStreamsResponse>
Modifier and Type | Method and Description |
---|---|
ListStreamsResponse.Builder |
hasMoreStreams(Boolean hasMoreStreams)
If set to
true , there are more streams available to list. |
ListStreamsResponse.Builder |
nextToken(String nextToken)
|
ListStreamsResponse.Builder |
streamNames(Collection<String> streamNames)
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams request. |
ListStreamsResponse.Builder |
streamNames(String... streamNames)
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams request. |
ListStreamsResponse.Builder |
streamSummaries(Collection<StreamSummary> streamSummaries)
|
ListStreamsResponse.Builder |
streamSummaries(Consumer<StreamSummary.Builder>... streamSummaries)
This is a convenience method that creates an instance of the
StreamSummary.Builder avoiding the need to create one
manually via StreamSummary.builder() . |
ListStreamsResponse.Builder |
streamSummaries(StreamSummary... streamSummaries)
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListStreamsResponse.Builder streamNames(Collection<String> streamNames)
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.
streamNames
- The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.ListStreamsResponse.Builder streamNames(String... streamNames)
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.
streamNames
- The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.ListStreamsResponse.Builder hasMoreStreams(Boolean hasMoreStreams)
If set to true
, there are more streams available to list.
hasMoreStreams
- If set to true
, there are more streams available to list.ListStreamsResponse.Builder nextToken(String nextToken)
nextToken
- ListStreamsResponse.Builder streamSummaries(Collection<StreamSummary> streamSummaries)
streamSummaries
- ListStreamsResponse.Builder streamSummaries(StreamSummary... streamSummaries)
streamSummaries
- ListStreamsResponse.Builder streamSummaries(Consumer<StreamSummary.Builder>... streamSummaries)
StreamSummary.Builder
avoiding the need to create one
manually via StreamSummary.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #streamSummaries(List
.
streamSummaries
- a consumer that will call methods on
StreamSummary.Builder
#streamSummaries(java.util.Collection)
Copyright © 2023. All rights reserved.