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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Metric.BuilderframeName(String frameName)The name of the method that appears as a frame in any stack in a profile.Metric.BuilderthreadStates(String... threadStates)The list of application runtime thread states that is used to calculate the metric value for the frame.Metric.BuilderthreadStates(Collection<String> threadStates)The list of application runtime thread states that is used to calculate the metric value for the frame.Metric.Buildertype(String type)A type that specifies how a metric for a frame is analyzed.Metric.Buildertype(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 Detail
-
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
AggregatedRelativeTotalTimeis 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 valueAggregatedRelativeTotalTimeis 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:
MetricType,MetricType
-
type
Metric.Builder type(MetricType type)
A type that specifies how a metric for a frame is analyzed. The supported value
AggregatedRelativeTotalTimeis 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 valueAggregatedRelativeTotalTimeis 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:
MetricType,MetricType
-
-