Interface ListFragmentsRequest.Builder

    • Method Detail

      • streamName

        ListFragmentsRequest.Builder streamName​(String streamName)

        The name of the stream from which to retrieve a fragment list. Specify either this parameter or the StreamARN parameter.

        Parameters:
        streamName - The name of the stream from which to retrieve a fragment list. Specify either this parameter or the StreamARN parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamARN

        ListFragmentsRequest.Builder streamARN​(String streamARN)

        The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list. Specify either this parameter or the StreamName parameter.

        Parameters:
        streamARN - The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list. Specify either this parameter or the StreamName parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListFragmentsRequest.Builder maxResults​(Long maxResults)

        The total number of fragments to return. If the total number of fragments available is more than the value specified in max-results, then a ListFragmentsOutput$NextToken is provided in the output that you can use to resume pagination.

        Parameters:
        maxResults - The total number of fragments to return. If the total number of fragments available is more than the value specified in max-results, then a ListFragmentsOutput$NextToken is provided in the output that you can use to resume pagination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fragmentSelector

        ListFragmentsRequest.Builder fragmentSelector​(FragmentSelector fragmentSelector)

        Describes the timestamp range and timestamp origin for the range of fragments to return.

        This is only required when the NextToken isn't passed in the API.

        Parameters:
        fragmentSelector - Describes the timestamp range and timestamp origin for the range of fragments to return.

        This is only required when the NextToken isn't passed in the API.

        Returns:
        Returns a reference to this object so that method calls can be chained together.