Interface GetTraceSummariesRequest.Builder

    • Method Detail

      • startTime

        GetTraceSummariesRequest.Builder startTime​(Instant startTime)

        The start of the time frame for which to retrieve traces.

        Parameters:
        startTime - The start of the time frame for which to retrieve traces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        GetTraceSummariesRequest.Builder endTime​(Instant endTime)

        The end of the time frame for which to retrieve traces.

        Parameters:
        endTime - The end of the time frame for which to retrieve traces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeRangeType

        GetTraceSummariesRequest.Builder timeRangeType​(String timeRangeType)

        Query trace summaries by TraceId (trace start time), Event (trace update time), or Service (trace segment end time).

        Parameters:
        timeRangeType - Query trace summaries by TraceId (trace start time), Event (trace update time), or Service (trace segment end time).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeRangeType, TimeRangeType
      • timeRangeType

        GetTraceSummariesRequest.Builder timeRangeType​(TimeRangeType timeRangeType)

        Query trace summaries by TraceId (trace start time), Event (trace update time), or Service (trace segment end time).

        Parameters:
        timeRangeType - Query trace summaries by TraceId (trace start time), Event (trace update time), or Service (trace segment end time).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeRangeType, TimeRangeType
      • sampling

        GetTraceSummariesRequest.Builder sampling​(Boolean sampling)

        Set to true to get summaries for only a subset of available traces.

        Parameters:
        sampling - Set to true to get summaries for only a subset of available traces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • samplingStrategy

        GetTraceSummariesRequest.Builder samplingStrategy​(SamplingStrategy samplingStrategy)

        A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and Value.

        Parameters:
        samplingStrategy - A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and Value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filterExpression

        GetTraceSummariesRequest.Builder filterExpression​(String filterExpression)

        Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.

        Parameters:
        filterExpression - Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetTraceSummariesRequest.Builder nextToken​(String nextToken)

        Specify the pagination token returned by a previous request to retrieve the next page of results.

        Parameters:
        nextToken - Specify the pagination token returned by a previous request to retrieve the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.