@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FrameMetric extends Object implements Serializable, Cloneable, StructuredPojo
The frame name, metric type, and thread states. These are used to derive the value of the metric for the frame.
| Constructor and Description |
|---|
FrameMetric() |
| Modifier and Type | Method and Description |
|---|---|
FrameMetric |
clone() |
boolean |
equals(Object obj) |
String |
getFrameName()
Name of the method common across the multiple occurrences of a frame in an application profile.
|
List<String> |
getThreadStates()
List of application runtime thread states used to get the counts for a frame a derive a metric value.
|
String |
getType()
A type of aggregation that specifies how a metric for a frame is analyzed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFrameName(String frameName)
Name of the method common across the multiple occurrences of a frame in an application profile.
|
void |
setThreadStates(Collection<String> threadStates)
List of application runtime thread states used to get the counts for a frame a derive a metric value.
|
void |
setType(String type)
A type of aggregation that specifies how a metric for a frame is analyzed.
|
String |
toString()
Returns a string representation of this object.
|
FrameMetric |
withFrameName(String frameName)
Name of the method common across the multiple occurrences of a frame in an application profile.
|
FrameMetric |
withThreadStates(Collection<String> threadStates)
List of application runtime thread states used to get the counts for a frame a derive a metric value.
|
FrameMetric |
withThreadStates(String... threadStates)
List of application runtime thread states used to get the counts for a frame a derive a metric value.
|
FrameMetric |
withType(MetricType type)
A type of aggregation that specifies how a metric for a frame is analyzed.
|
FrameMetric |
withType(String type)
A type of aggregation that specifies how a metric for a frame is analyzed.
|
public void setFrameName(String frameName)
Name of the method common across the multiple occurrences of a frame in an application profile.
frameName - Name of the method common across the multiple occurrences of a frame in an application profile.public String getFrameName()
Name of the method common across the multiple occurrences of a frame in an application profile.
public FrameMetric withFrameName(String frameName)
Name of the method common across the multiple occurrences of a frame in an application profile.
frameName - Name of the method common across the multiple occurrences of a frame in an application profile.public List<String> getThreadStates()
List of application runtime thread states used to get the counts for a frame a derive a metric value.
public void setThreadStates(Collection<String> threadStates)
List of application runtime thread states used to get the counts for a frame a derive a metric value.
threadStates - List of application runtime thread states used to get the counts for a frame a derive a metric value.public FrameMetric withThreadStates(String... threadStates)
List of application runtime thread states used to get the counts for a frame a derive a metric value.
NOTE: This method appends the values to the existing list (if any). Use
setThreadStates(java.util.Collection) or withThreadStates(java.util.Collection) if you want to
override the existing values.
threadStates - List of application runtime thread states used to get the counts for a frame a derive a metric value.public FrameMetric withThreadStates(Collection<String> threadStates)
List of application runtime thread states used to get the counts for a frame a derive a metric value.
threadStates - List of application runtime thread states used to get the counts for a frame a derive a metric value.public void setType(String type)
A type of aggregation 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 occurrences of all frames in a profile.
type - A type of aggregation 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 occurrences of all frames in a profile.MetricTypepublic String getType()
A type of aggregation 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 occurrences of all frames in a profile.
AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is
calculated across the occurrences of all frames in a profile.MetricTypepublic FrameMetric withType(String type)
A type of aggregation 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 occurrences of all frames in a profile.
type - A type of aggregation 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 occurrences of all frames in a profile.MetricTypepublic FrameMetric withType(MetricType type)
A type of aggregation 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 occurrences of all frames in a profile.
type - A type of aggregation 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 occurrences of all frames in a profile.MetricTypepublic String toString()
toString in class ObjectObject.toString()public FrameMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.