Interface Metric.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Metric.Builder,Metric>, SdkBuilder<Metric.Builder,Metric>, SdkPojo
Enclosing class:
Metric

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

    • frameName

      Metric.Builder frameName(String frameName)

      The name of the method that appears as a frame in any stack in a profile.

      Parameters:
      frameName - The name of the method that appears as a frame in any stack in a profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threadStates

      Metric.Builder threadStates(Collection<String> threadStates)

      The list of application runtime thread states that is used to calculate the metric value for the frame.

      Parameters:
      threadStates - The list of application runtime thread states that is used to calculate the metric value for the frame.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threadStates

      Metric.Builder threadStates(String... threadStates)

      The list of application runtime thread states that is used to calculate the metric value for the frame.

      Parameters:
      threadStates - The list of application runtime thread states that is used to calculate the metric value for the frame.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Metric.Builder type(String type)

      A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.

      Parameters:
      type - A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.

      Parameters:
      type - A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: