com.amazonaws.services.cloudwatch.model

## クラス Datapoint

- java.lang.Object
- - com.amazonaws.services.cloudwatch.model.Datapoint

- すべての実装されたインタフェース:
    java.io.Serializable

      public class Datapoint
      extends java.lang.Object
      implements java.io.Serializable

  The `Datapoint` data type encapsulates the statistical data that Amazon CloudWatch computes from metric data.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `Datapoint()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Double` | `getAverage()` The average of metric values that correspond to the datapoint.
    `java.lang.Double` | `getMaximum()` The maximum of the metric value used for the datapoint.
    `java.lang.Double` | `getMinimum()` The minimum metric value used for the datapoint.
    `java.lang.Double` | `getSampleCount()` The number of metric values that contributed to the aggregate value of this datapoint.
    `java.lang.Double` | `getSum()` The sum of metric values used for the datapoint.
    `java.util.Date` | `getTimestamp()` The time stamp used for the datapoint.
    `java.lang.String` | `getUnit()` The standard unit used for the datapoint.
    `int` | `hashCode()`
    `void` | `setAverage(java.lang.Double average)` The average of metric values that correspond to the datapoint.
    `void` | `setMaximum(java.lang.Double maximum)` The maximum of the metric value used for the datapoint.
    `void` | `setMinimum(java.lang.Double minimum)` The minimum metric value used for the datapoint.
    `void` | `setSampleCount(java.lang.Double sampleCount)` The number of metric values that contributed to the aggregate value of this datapoint.
    `void` | `setSum(java.lang.Double sum)` The sum of metric values used for the datapoint.
    `void` | `setTimestamp(java.util.Date timestamp)` The time stamp used for the datapoint.
    `void` | `setUnit(StandardUnit unit)` The standard unit used for the datapoint.
    `void` | `setUnit(java.lang.String unit)` The standard unit used for the datapoint.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Datapoint` | `withAverage(java.lang.Double average)` The average of metric values that correspond to the datapoint.
    `Datapoint` | `withMaximum(java.lang.Double maximum)` The maximum of the metric value used for the datapoint.
    `Datapoint` | `withMinimum(java.lang.Double minimum)` The minimum metric value used for the datapoint.
    `Datapoint` | `withSampleCount(java.lang.Double sampleCount)` The number of metric values that contributed to the aggregate value of this datapoint.
    `Datapoint` | `withSum(java.lang.Double sum)` The sum of metric values used for the datapoint.
    `Datapoint` | `withTimestamp(java.util.Date timestamp)` The time stamp used for the datapoint.
    `Datapoint` | `withUnit(StandardUnit unit)` The standard unit used for the datapoint.
    `Datapoint` | `withUnit(java.lang.String unit)` The standard unit used for the datapoint.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### Datapoint

          public Datapoint()

  - ### メソッドの詳細

    - #### getTimestamp

          public java.util.Date getTimestamp()

      The time stamp used for the datapoint.
      戻り値:
        The time stamp used for the datapoint.

    - #### setTimestamp

          public void setTimestamp(java.util.Date timestamp)

      The time stamp used for the datapoint.
      パラメータ:
        `timestamp` - The time stamp used for the datapoint.

    - #### withTimestamp

          public Datapoint withTimestamp(java.util.Date timestamp)

      The time stamp used for the datapoint.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `timestamp` - The time stamp used for the datapoint.

    - #### getSampleCount

          public java.lang.Double getSampleCount()

      The number of metric values that contributed to the aggregate value of this datapoint.
      戻り値:
        The number of metric values that contributed to the aggregate value of this datapoint.

    - #### setSampleCount

          public void setSampleCount(java.lang.Double sampleCount)

      The number of metric values that contributed to the aggregate value of this datapoint.
      パラメータ:
        `sampleCount` - The number of metric values that contributed to the aggregate value of this datapoint.

    - #### withSampleCount

          public Datapoint withSampleCount(java.lang.Double sampleCount)

      The number of metric values that contributed to the aggregate value of this datapoint.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `sampleCount` - The number of metric values that contributed to the aggregate value of this datapoint.

    - #### getAverage

          public java.lang.Double getAverage()

      The average of metric values that correspond to the datapoint.
      戻り値:
        The average of metric values that correspond to the datapoint.

    - #### setAverage

          public void setAverage(java.lang.Double average)

      The average of metric values that correspond to the datapoint.
      パラメータ:
        `average` - The average of metric values that correspond to the datapoint.

    - #### withAverage

          public Datapoint withAverage(java.lang.Double average)

      The average of metric values that correspond to the datapoint.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `average` - The average of metric values that correspond to the datapoint.

    - #### getSum

          public java.lang.Double getSum()

      The sum of metric values used for the datapoint.
      戻り値:
        The sum of metric values used for the datapoint.

    - #### setSum

          public void setSum(java.lang.Double sum)

      The sum of metric values used for the datapoint.
      パラメータ:
        `sum` - The sum of metric values used for the datapoint.

    - #### withSum

          public Datapoint withSum(java.lang.Double sum)

      The sum of metric values used for the datapoint.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `sum` - The sum of metric values used for the datapoint.

    - #### getMinimum

          public java.lang.Double getMinimum()

      The minimum metric value used for the datapoint.
      戻り値:
        The minimum metric value used for the datapoint.

    - #### setMinimum

          public void setMinimum(java.lang.Double minimum)

      The minimum metric value used for the datapoint.
      パラメータ:
        `minimum` - The minimum metric value used for the datapoint.

    - #### withMinimum

          public Datapoint withMinimum(java.lang.Double minimum)

      The minimum metric value used for the datapoint.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `minimum` - The minimum metric value used for the datapoint.

    - #### getMaximum

          public java.lang.Double getMaximum()

      The maximum of the metric value used for the datapoint.
      戻り値:
        The maximum of the metric value used for the datapoint.

    - #### setMaximum

          public void setMaximum(java.lang.Double maximum)

      The maximum of the metric value used for the datapoint.
      パラメータ:
        `maximum` - The maximum of the metric value used for the datapoint.

    - #### withMaximum

          public Datapoint withMaximum(java.lang.Double maximum)

      The maximum of the metric value used for the datapoint.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `maximum` - The maximum of the metric value used for the datapoint.

    - #### getUnit

          public java.lang.String getUnit()

      The standard unit used for the datapoint.

      Constraints:
      Allowed Values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None

      戻り値:
        The standard unit used for the datapoint.
      関連項目:
        `StandardUnit`

    - #### setUnit

          public void setUnit(java.lang.String unit)

      The standard unit used for the datapoint.

      Constraints:
      Allowed Values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None

      パラメータ:
        `unit` - The standard unit used for the datapoint.
      関連項目:
        `StandardUnit`

    - #### withUnit

          public Datapoint withUnit(java.lang.String unit)

      The standard unit used for the datapoint.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None

      パラメータ:
        `unit` - The standard unit used for the datapoint.
      関連項目:
        `StandardUnit`

    - #### setUnit

          public void setUnit(StandardUnit unit)

      The standard unit used for the datapoint.

      Constraints:
      Allowed Values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None

      パラメータ:
        `unit` - The standard unit used for the datapoint.
      関連項目:
        `StandardUnit`

    - #### withUnit

          public Datapoint withUnit(StandardUnit unit)

      The standard unit used for the datapoint.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None

      パラメータ:
        `unit` - The standard unit used for the datapoint.
      関連項目:
        `StandardUnit`

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`