Class ListFragmentsRequest

    • Method Detail

      • streamName

        public final String streamName()

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

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

        public final 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.

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

        public final 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.

        Returns:
        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.
      • fragmentSelector

        public final 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.

        Returns:
        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.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object