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 Details

    • streamInfoList

      ListStreamsResponse.Builder streamInfoList(Collection<StreamInfo> streamInfoList)

      An array of StreamInfo objects.

      Parameters:
      streamInfoList - An array of StreamInfo objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamInfoList

      ListStreamsResponse.Builder streamInfoList(StreamInfo... streamInfoList)

      An array of StreamInfo objects.

      Parameters:
      streamInfoList - An array of StreamInfo objects.
      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 StreamInfo objects.

      This is a convenience method that creates an instance of the StreamInfo.Builder avoiding the need to create one manually via StreamInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to streamInfoList(List<StreamInfo>).

      Parameters:
      streamInfoList - a consumer that will call methods on StreamInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.