Interface PerformanceIssueDetails.Builder

  • Method Details

    • startTime

      The time when the performance issue started.

      Parameters:
      startTime - The time when the performance issue started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The time when the performance issue stopped.

      Parameters:
      endTime - The time when the performance issue stopped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metrics

      The metrics that are relevant to the performance issue.

      Parameters:
      metrics - The metrics that are relevant to the performance issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metrics

      The metrics that are relevant to the performance issue.

      Parameters:
      metrics - The metrics that are relevant to the performance issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metrics

      The metrics that are relevant to the performance issue.

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

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

      Parameters:
      metrics - a consumer that will call methods on Metric.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • analysis

      The analysis of the performance issue. The information might contain markdown.

      Parameters:
      analysis - The analysis of the performance issue. The information might contain markdown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.