Interface GetTraceSummariesResponse.Builder

    • Method Detail

      • traceSummaries

        GetTraceSummariesResponse.Builder traceSummaries​(Collection<TraceSummary> traceSummaries)

        Trace IDs and annotations for traces that were found in the specified time frame.

        Parameters:
        traceSummaries - Trace IDs and annotations for traces that were found in the specified time frame.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • traceSummaries

        GetTraceSummariesResponse.Builder traceSummaries​(TraceSummary... traceSummaries)

        Trace IDs and annotations for traces that were found in the specified time frame.

        Parameters:
        traceSummaries - Trace IDs and annotations for traces that were found in the specified time frame.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approximateTime

        GetTraceSummariesResponse.Builder approximateTime​(Instant approximateTime)

        The start time of this page of results.

        Parameters:
        approximateTime - The start time of this page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tracesProcessedCount

        GetTraceSummariesResponse.Builder tracesProcessedCount​(Long tracesProcessedCount)

        The total number of traces processed, including traces that did not match the specified filter expression.

        Parameters:
        tracesProcessedCount - The total number of traces processed, including traces that did not match the specified filter expression.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetTraceSummariesResponse.Builder nextToken​(String nextToken)

        If the requested time frame contained more than one page of results, you can use this token to retrieve the next page. The first page contains the most recent results, closest to the end of the time frame.

        Parameters:
        nextToken - If the requested time frame contained more than one page of results, you can use this token to retrieve the next page. The first page contains the most recent results, closest to the end of the time frame.
        Returns:
        Returns a reference to this object so that method calls can be chained together.