Class GetTraceSummariesRequest

    • Method Detail

      • startTime

        public final Instant startTime()

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

        Returns:
        The start of the time frame for which to retrieve traces.
      • endTime

        public final Instant endTime()

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

        Returns:
        The end of the time frame for which to retrieve traces.
      • timeRangeType

        public final TimeRangeType timeRangeType()

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

        If the service returns an enum value that is not available in the current SDK version, timeRangeType will return TimeRangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from timeRangeTypeAsString().

        Returns:
        Query trace summaries by TraceId (trace start time), Event (trace update time), or Service (trace segment end time).
        See Also:
        TimeRangeType
      • timeRangeTypeAsString

        public final String timeRangeTypeAsString()

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

        If the service returns an enum value that is not available in the current SDK version, timeRangeType will return TimeRangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from timeRangeTypeAsString().

        Returns:
        Query trace summaries by TraceId (trace start time), Event (trace update time), or Service (trace segment end time).
        See Also:
        TimeRangeType
      • sampling

        public final Boolean sampling()

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

        Returns:
        Set to true to get summaries for only a subset of available traces.
      • samplingStrategy

        public final SamplingStrategy samplingStrategy()

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

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

        public final String filterExpression()

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

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

        public final String nextToken()

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

        Returns:
        Specify the pagination token returned by a previous request to retrieve the next page of results.
      • 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