Interface ListStreamsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListStreamsResponse.Builder,
,ListStreamsResponse> KinesisVideoResponse.Builder
,SdkBuilder<ListStreamsResponse.Builder,
,ListStreamsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListStreamsResponse
public static interface ListStreamsResponse.Builder
extends KinesisVideoResponse.Builder, SdkPojo, CopyableBuilder<ListStreamsResponse.Builder,ListStreamsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, the call returns this element with a token.streamInfoList
(Collection<StreamInfo> streamInfoList) An array ofStreamInfo
objects.streamInfoList
(Consumer<StreamInfo.Builder>... streamInfoList) An array ofStreamInfo
objects.streamInfoList
(StreamInfo... streamInfoList) An array ofStreamInfo
objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisvideo.model.KinesisVideoResponse.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
-
streamInfoList
An array of
StreamInfo
objects.- Parameters:
streamInfoList
- An array ofStreamInfo
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamInfoList
An array of
StreamInfo
objects.- Parameters:
streamInfoList
- An array ofStreamInfo
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamInfoList
An array of
This is a convenience method that creates an instance of theStreamInfo
objects.StreamInfo.Builder
avoiding the need to create one manually viaStreamInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamInfoList(List<StreamInfo>)
.- Parameters:
streamInfoList
- a consumer that will call methods onStreamInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.
- Parameters:
nextToken
- If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-