Class GetMetricStatisticsResult

    • Constructor Detail

      • GetMetricStatisticsResult

        public GetMetricStatisticsResult()
    • Method Detail

      • setLabel

        public void setLabel​(String label)

        A label describing the specified metric.

        Parameters:
        label - A label describing the specified metric.
      • getLabel

        public String getLabel()

        A label describing the specified metric.

        Returns:
        A label describing the specified metric.
      • withLabel

        public GetMetricStatisticsResult withLabel​(String label)

        A label describing the specified metric.

        Parameters:
        label - A label describing the specified metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getDatapoints

        public List<Datapoint> getDatapoints()

        The datapoints for the specified metric.

        Returns:
        The datapoints for the specified metric.
      • setDatapoints

        public void setDatapoints​(Collection<Datapoint> datapoints)

        The datapoints for the specified metric.

        Parameters:
        datapoints - The datapoints for the specified metric.
      • withDatapoints

        public GetMetricStatisticsResult withDatapoints​(Collection<Datapoint> datapoints)

        The datapoints for the specified metric.

        Parameters:
        datapoints - The datapoints for the specified metric.
        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; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object