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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListStreamsResponse.BuilderhasMoreStreams(Boolean hasMoreStreams)If set totrue, there are more streams available to list.ListStreamsResponse.BuildernextToken(String nextToken)ListStreamsResponse.BuilderstreamNames(String... streamNames)The names of the streams that are associated with the Amazon Web Services account making theListStreamsrequest.ListStreamsResponse.BuilderstreamNames(Collection<String> streamNames)The names of the streams that are associated with the Amazon Web Services account making theListStreamsrequest.ListStreamsResponse.BuilderstreamSummaries(Collection<StreamSummary> streamSummaries)ListStreamsResponse.BuilderstreamSummaries(Consumer<StreamSummary.Builder>... streamSummaries)This is a convenience method that creates an instance of theStreamSummary.Builderavoiding the need to create one manually viaStreamSummary.builder().ListStreamsResponse.BuilderstreamSummaries(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 Detail
-
streamNames
ListStreamsResponse.Builder streamNames(Collection<String> 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
ListStreamsResponse.Builder streamNames(String... 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
ListStreamsResponse.Builder hasMoreStreams(Boolean 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
ListStreamsResponse.Builder nextToken(String nextToken)
- Parameters:
nextToken-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSummaries
ListStreamsResponse.Builder streamSummaries(Collection<StreamSummary> streamSummaries)
- Parameters:
streamSummaries-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSummaries
ListStreamsResponse.Builder streamSummaries(StreamSummary... streamSummaries)
- Parameters:
streamSummaries-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSummaries
ListStreamsResponse.Builder 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().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#streamSummaries(List.) - 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:
#streamSummaries(java.util.Collection)
-
-