JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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.pi.model

Class MetricKeyDataPoints

    • Constructor Detail

      • MetricKeyDataPoints

        public MetricKeyDataPoints()
    • Method Detail

      • setKey

        public void setKey(ResponseResourceMetricKey key)

        The dimensions to which the data points apply.

        Parameters:
        key - The dimensions to which the data points apply.
      • getKey

        public ResponseResourceMetricKey getKey()

        The dimensions to which the data points apply.

        Returns:
        The dimensions to which the data points apply.
      • withKey

        public MetricKeyDataPoints withKey(ResponseResourceMetricKey key)

        The dimensions to which the data points apply.

        Parameters:
        key - The dimensions to which the data points apply.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getDataPoints

        public List<DataPoint> getDataPoints()

        An array of timestamp-value pairs, representing measurements over a period of time.

        Returns:
        An array of timestamp-value pairs, representing measurements over a period of time.
      • setDataPoints

        public void setDataPoints(Collection<DataPoint> dataPoints)

        An array of timestamp-value pairs, representing measurements over a period of time.

        Parameters:
        dataPoints - An array of timestamp-value pairs, representing measurements over a period of time.
      • withDataPoints

        public MetricKeyDataPoints withDataPoints(DataPoint... dataPoints)

        An array of timestamp-value pairs, representing measurements over a period of time.

        NOTE: This method appends the values to the existing list (if any). Use setDataPoints(java.util.Collection) or withDataPoints(java.util.Collection) if you want to override the existing values.

        Parameters:
        dataPoints - An array of timestamp-value pairs, representing measurements over a period of time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withDataPoints

        public MetricKeyDataPoints withDataPoints(Collection<DataPoint> dataPoints)

        An array of timestamp-value pairs, representing measurements over a period of time.

        Parameters:
        dataPoints - An array of timestamp-value pairs, representing measurements over a period of time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 によって変換されたページ (->オリジナル) /