Interface Metric.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Metric.Builder,
,Metric> SdkBuilder<Metric.Builder,
,Metric> SdkPojo
- Enclosing class:
Metric
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the method that appears as a frame in any stack in a profile.threadStates
(String... threadStates) The list of application runtime thread states that is used to calculate the metric value for the frame.threadStates
(Collection<String> threadStates) The list of application runtime thread states that is used to calculate the metric value for the frame.A type that specifies how a metric for a frame is analyzed.type
(MetricType type) A type that specifies how a metric for a frame is analyzed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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 valueAggregatedRelativeTotalTime
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 valueAggregatedRelativeTotalTime
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:
-