Interface ListFragmentsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListFragmentsResponse.Builder,ListFragmentsResponse>, KinesisVideoArchivedMediaResponse.Builder, SdkBuilder<ListFragmentsResponse.Builder,ListFragmentsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListFragmentsResponse

  • Method Details

    • fragments

      A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.

      Parameters:
      fragments - A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fragments

      ListFragmentsResponse.Builder fragments(Fragment... fragments)

      A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.

      Parameters:
      fragments - A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fragments

      A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.

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

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

      Parameters:
      fragments - a consumer that will call methods on Fragment.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListFragmentsResponse.Builder nextToken(String nextToken)

      If the returned list is truncated, the operation returns this token to use to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - If the returned list is truncated, the operation returns this token to use to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.