JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codeguruprofiler.model

Class FrameMetric

    • Constructor Detail

      • FrameMetric

        public FrameMetric()
    • Method Detail

      • setFrameName

        public void setFrameName(String frameName)

        Name of the method common across the multiple occurrences of a frame in an application profile.

        Parameters:
        frameName - Name of the method common across the multiple occurrences of a frame in an application profile.
      • getFrameName

        public String getFrameName()

        Name of the method common across the multiple occurrences of a frame in an application profile.

        Returns:
        Name of the method common across the multiple occurrences of a frame in an application profile.
      • withFrameName

        public FrameMetric withFrameName(String frameName)

        Name of the method common across the multiple occurrences of a frame in an application profile.

        Parameters:
        frameName - Name of the method common across the multiple occurrences of a frame in an application profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getThreadStates

        public List<String> getThreadStates()

        List of application runtime thread states used to get the counts for a frame a derive a metric value.

        Returns:
        List of application runtime thread states used to get the counts for a frame a derive a metric value.
      • setThreadStates

        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.

        Parameters:
        threadStates - List of application runtime thread states used to get the counts for a frame a derive a metric value.
      • withThreadStates

        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.

        Parameters:
        threadStates - List of application runtime thread states used to get the counts for a frame a derive a metric value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withThreadStates

        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.

        Parameters:
        threadStates - List of application runtime thread states used to get the counts for a frame a derive a metric value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        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.

        Parameters:
        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.
        See Also:
        MetricType
      • getType

        public 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.

        Returns:
        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.
        See Also:
        MetricType
      • withType

        public 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricType
      • withType

        public 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricType
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /