Interface ListStreamsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStreamsResponse.Builder,,ListStreamsResponse> KinesisVideoResponse.Builder,SdkBuilder<ListStreamsResponse.Builder,,ListStreamsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListStreamsResponse
@Mutable
@NotThreadSafe
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 ofStreamInfoobjects.streamInfoList(Consumer<StreamInfo.Builder>... streamInfoList) An array ofStreamInfoobjects.streamInfoList(StreamInfo... streamInfoList) An array ofStreamInfoobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisvideo.model.KinesisVideoResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 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.
-