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.Builder
hasMoreStreams(Boolean hasMoreStreams)
If set totrue
, there are more streams available to list.ListStreamsResponse.Builder
nextToken(String nextToken)
ListStreamsResponse.Builder
streamNames(String... streamNames)
The names of the streams that are associated with the Amazon Web Services account making theListStreams
request.ListStreamsResponse.Builder
streamNames(Collection<String> streamNames)
The names of the streams that are associated with the Amazon Web Services account making theListStreams
request.ListStreamsResponse.Builder
streamSummaries(Collection<StreamSummary> streamSummaries)
ListStreamsResponse.Builder
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()
.ListStreamsResponse.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 Detail
-
streamNames
ListStreamsResponse.Builder streamNames(Collection<String> 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
ListStreamsResponse.Builder streamNames(String... 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
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.Builder
avoiding the need to create one manually viaStreamSummary.builder()
.When the
Consumer
completes,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
)
-
-