Interface GetTraceSummariesResponse.Builder

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

public static interface GetTraceSummariesResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetTraceSummariesResponse.Builder,GetTraceSummariesResponse>
  • Method Details

    • 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.
    • traceSummaries

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

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

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

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

      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.