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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListStreamsResponse.BuildernextToken(String nextToken)If the response is truncated, the call returns this element with a token.ListStreamsResponse.BuilderstreamInfoList(Collection<StreamInfo> streamInfoList)An array ofStreamInfoobjects.ListStreamsResponse.BuilderstreamInfoList(Consumer<StreamInfo.Builder>... streamInfoList)An array ofStreamInfoobjects.ListStreamsResponse.BuilderstreamInfoList(StreamInfo... streamInfoList)An array ofStreamInfoobjects.-
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 Detail
-
streamInfoList
ListStreamsResponse.Builder streamInfoList(Collection<StreamInfo> streamInfoList)
An array of
StreamInfoobjects.- Parameters:
streamInfoList- An array ofStreamInfoobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamInfoList
ListStreamsResponse.Builder streamInfoList(StreamInfo... streamInfoList)
An array of
StreamInfoobjects.- Parameters:
streamInfoList- An array ofStreamInfoobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamInfoList
ListStreamsResponse.Builder streamInfoList(Consumer<StreamInfo.Builder>... streamInfoList)
An array of
This is a convenience method that creates an instance of theStreamInfoobjects.StreamInfo.Builderavoiding the need to create one manually viaStreamInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#streamInfoList(List.) - 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:
#streamInfoList(java.util.Collection)
-
nextToken
ListStreamsResponse.Builder nextToken(String 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.
-
-