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 theListStreamsrequest.streamNames(Collection<String> streamNames) The names of the streams that are associated with the Amazon Web Services account making theListStreamsrequest.streamSummaries(Collection<StreamSummary> streamSummaries) streamSummaries(Consumer<StreamSummary.Builder>... streamSummaries) This is a convenience method that creates an instance of theStreamSummary.Builderavoiding the need to create one manually viaStreamSummary.builder().streamSummaries(StreamSummary... streamSummaries) Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
ListStreamsrequest.- Parameters:
streamNames- The names of the streams that are associated with the Amazon Web Services account making theListStreamsrequest.- 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
ListStreamsrequest.- Parameters:
streamNames- The names of the streams that are associated with the Amazon Web Services account making theListStreamsrequest.- 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.Builderavoiding the need to create one manually viaStreamSummary.builder().When the
Consumercompletes,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:
-