Interface ListStreamsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListStreamsResponse.Builder,
,ListStreamsResponse> KinesisResponse.Builder
,SdkBuilder<ListStreamsResponse.Builder,
,ListStreamsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListStreamsResponse
public static interface ListStreamsResponse.Builder
extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<ListStreamsResponse.Builder,ListStreamsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhasMoreStreams
(Boolean hasMoreStreams) If set totrue
, there are more streams available to list.streamNames
(String... streamNames) The names of the streams that are associated with the Amazon Web Services account making theListStreams
request.streamNames
(Collection<String> streamNames) The names of the streams that are associated with the Amazon Web Services account making theListStreams
request.streamSummaries
(Collection<StreamSummary> streamSummaries) streamSummaries
(Consumer<StreamSummary.Builder>... streamSummaries) This is a convenience method that creates an instance of theStreamSummary.Builder
avoiding the need to create one manually viaStreamSummary.builder()
.streamSummaries
(StreamSummary... streamSummaries) Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisResponse.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
-
streamNames
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.- Parameters:
streamNames
- The names of the streams that are associated with the Amazon Web Services account making theListStreams
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamNames
The names of the streams that are associated with the Amazon Web Services account making the
ListStreams
request.- Parameters:
streamNames
- The names of the streams that are associated with the Amazon Web Services account making theListStreams
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasMoreStreams
If set to
true
, there are more streams available to list.- Parameters:
hasMoreStreams
- If set totrue
, there are more streams available to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
- Parameters:
nextToken
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSummaries
- Parameters:
streamSummaries
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSummaries
- Parameters:
streamSummaries
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSummaries
This is a convenience method that creates an instance of theStreamSummary.Builder
avoiding the need to create one manually viaStreamSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamSummaries(List<StreamSummary>)
.- Parameters:
streamSummaries
- a consumer that will call methods onStreamSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-