com.amazonaws.services.cloudwatch.model

## クラス PutMetricAlarmRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.cloudwatch.model.PutMetricAlarmRequest

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

      public class PutMetricAlarmRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `PutMetricAlarm operation`.

  Creates or updates an alarm and associates it with the specified Amazon CloudWatch metric. Optionally, this operation can associate one or more Amazon Simple Notification Service resources with the alarm.

  When this operation creates an alarm, the alarm state is immediately set to `INSUFFICIENT_DATA` . The alarm is evaluated and its `StateValue` is set appropriately. Any actions associated with the `StateValue` is then executed.

  NOTE: When updating an existing alarm, its StateValue is left unchanged.

  関連項目:
    `AmazonCloudWatch.putMetricAlarm(PutMetricAlarmRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Boolean` | `getActionsEnabled()` Indicates whether or not actions should be executed during any changes to the alarm's state.
    `java.util.List<java.lang.String>` | `getAlarmActions()` The list of actions to execute when this alarm transitions into an `ALARM` state from any other state.
    `java.lang.String` | `getAlarmDescription()` The description for the alarm.
    `java.lang.String` | `getAlarmName()` The descriptive name for the alarm.
    `java.lang.String` | `getComparisonOperator()` The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`.
    `java.util.List<Dimension>` | `getDimensions()` The dimensions for the alarm's associated metric.
    `java.lang.Integer` | `getEvaluationPeriods()` The number of periods over which data is compared to the specified threshold.
    `java.util.List<java.lang.String>` | `getInsufficientDataActions()` The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state.
    `java.lang.String` | `getMetricName()` The name for the alarm's associated metric.
    `java.lang.String` | `getNamespace()` The namespace for the alarm's associated metric.
    `java.util.List<java.lang.String>` | `getOKActions()` The list of actions to execute when this alarm transitions into an `OK` state from any other state.
    `java.lang.Integer` | `getPeriod()` The period in seconds over which the specified statistic is applied.
    `java.lang.String` | `getStatistic()` The statistic to apply to the alarm's associated metric.
    `java.lang.Double` | `getThreshold()` The value against which the specified statistic is compared.
    `java.lang.String` | `getUnit()` The unit for the alarm's associated metric.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isActionsEnabled()` Indicates whether or not actions should be executed during any changes to the alarm's state.
    `void` | `setActionsEnabled(java.lang.Boolean actionsEnabled)` Indicates whether or not actions should be executed during any changes to the alarm's state.
    `void` | `setAlarmActions(java.util.Collection<java.lang.String> alarmActions)` The list of actions to execute when this alarm transitions into an `ALARM` state from any other state.
    `void` | `setAlarmDescription(java.lang.String alarmDescription)` The description for the alarm.
    `void` | `setAlarmName(java.lang.String alarmName)` The descriptive name for the alarm.
    `void` | `setComparisonOperator(ComparisonOperator comparisonOperator)` The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`.
    `void` | `setComparisonOperator(java.lang.String comparisonOperator)` The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`.
    `void` | `setDimensions(java.util.Collection<Dimension> dimensions)` The dimensions for the alarm's associated metric.
    `void` | `setEvaluationPeriods(java.lang.Integer evaluationPeriods)` The number of periods over which data is compared to the specified threshold.
    `void` | `setInsufficientDataActions(java.util.Collection<java.lang.String> insufficientDataActions)` The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state.
    `void` | `setMetricName(java.lang.String metricName)` The name for the alarm's associated metric.
    `void` | `setNamespace(java.lang.String namespace)` The namespace for the alarm's associated metric.
    `void` | `setOKActions(java.util.Collection<java.lang.String> oKActions)` The list of actions to execute when this alarm transitions into an `OK` state from any other state.
    `void` | `setPeriod(java.lang.Integer period)` The period in seconds over which the specified statistic is applied.
    `void` | `setStatistic(Statistic statistic)` The statistic to apply to the alarm's associated metric.
    `void` | `setStatistic(java.lang.String statistic)` The statistic to apply to the alarm's associated metric.
    `void` | `setThreshold(java.lang.Double threshold)` The value against which the specified statistic is compared.
    `void` | `setUnit(StandardUnit unit)` The unit for the alarm's associated metric.
    `void` | `setUnit(java.lang.String unit)` The unit for the alarm's associated metric.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `PutMetricAlarmRequest` | `withActionsEnabled(java.lang.Boolean actionsEnabled)` Indicates whether or not actions should be executed during any changes to the alarm's state.
    `PutMetricAlarmRequest` | `withAlarmActions(java.util.Collection<java.lang.String> alarmActions)` The list of actions to execute when this alarm transitions into an `ALARM` state from any other state.
    `PutMetricAlarmRequest` | `withAlarmActions(java.lang.String... alarmActions)` The list of actions to execute when this alarm transitions into an `ALARM` state from any other state.
    `PutMetricAlarmRequest` | `withAlarmDescription(java.lang.String alarmDescription)` The description for the alarm.
    `PutMetricAlarmRequest` | `withAlarmName(java.lang.String alarmName)` The descriptive name for the alarm.
    `PutMetricAlarmRequest` | `withComparisonOperator(ComparisonOperator comparisonOperator)` The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`.
    `PutMetricAlarmRequest` | `withComparisonOperator(java.lang.String comparisonOperator)` The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`.
    `PutMetricAlarmRequest` | `withDimensions(java.util.Collection<Dimension> dimensions)` The dimensions for the alarm's associated metric.
    `PutMetricAlarmRequest` | `withDimensions(Dimension... dimensions)` The dimensions for the alarm's associated metric.
    `PutMetricAlarmRequest` | `withEvaluationPeriods(java.lang.Integer evaluationPeriods)` The number of periods over which data is compared to the specified threshold.
    `PutMetricAlarmRequest` | `withInsufficientDataActions(java.util.Collection<java.lang.String> insufficientDataActions)` The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state.
    `PutMetricAlarmRequest` | `withInsufficientDataActions(java.lang.String... insufficientDataActions)` The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state.
    `PutMetricAlarmRequest` | `withMetricName(java.lang.String metricName)` The name for the alarm's associated metric.
    `PutMetricAlarmRequest` | `withNamespace(java.lang.String namespace)` The namespace for the alarm's associated metric.
    `PutMetricAlarmRequest` | `withOKActions(java.util.Collection<java.lang.String> oKActions)` The list of actions to execute when this alarm transitions into an `OK` state from any other state.
    `PutMetricAlarmRequest` | `withOKActions(java.lang.String... oKActions)` The list of actions to execute when this alarm transitions into an `OK` state from any other state.
    `PutMetricAlarmRequest` | `withPeriod(java.lang.Integer period)` The period in seconds over which the specified statistic is applied.
    `PutMetricAlarmRequest` | `withStatistic(Statistic statistic)` The statistic to apply to the alarm's associated metric.
    `PutMetricAlarmRequest` | `withStatistic(java.lang.String statistic)` The statistic to apply to the alarm's associated metric.
    `PutMetricAlarmRequest` | `withThreshold(java.lang.Double threshold)` The value against which the specified statistic is compared.
    `PutMetricAlarmRequest` | `withUnit(StandardUnit unit)` The unit for the alarm's associated metric.
    `PutMetricAlarmRequest` | `withUnit(java.lang.String unit)` The unit for the alarm's associated metric.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### PutMetricAlarmRequest

          public PutMetricAlarmRequest()

  - ### メソッドの詳細

    - #### getAlarmName

          public java.lang.String getAlarmName()

      The descriptive name for the alarm. This name must be unique within the user's AWS account

      Constraints:
      Length: 1 - 255

      戻り値:
        The descriptive name for the alarm. This name must be unique within the user's AWS account

    - #### setAlarmName

          public void setAlarmName(java.lang.String alarmName)

      The descriptive name for the alarm. This name must be unique within the user's AWS account

      Constraints:
      Length: 1 - 255

      パラメータ:
        `alarmName` - The descriptive name for the alarm. This name must be unique within the user's AWS account

    - #### withAlarmName

          public PutMetricAlarmRequest withAlarmName(java.lang.String alarmName)

      The descriptive name for the alarm. This name must be unique within the user's AWS account

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `alarmName` - The descriptive name for the alarm. This name must be unique within the user's AWS account

    - #### getAlarmDescription

          public java.lang.String getAlarmDescription()

      The description for the alarm.

      Constraints:
      Length: 0 - 255

      戻り値:
        The description for the alarm.

    - #### setAlarmDescription

          public void setAlarmDescription(java.lang.String alarmDescription)

      The description for the alarm.

      Constraints:
      Length: 0 - 255

      パラメータ:
        `alarmDescription` - The description for the alarm.

    - #### withAlarmDescription

          public PutMetricAlarmRequest withAlarmDescription(java.lang.String alarmDescription)

      The description for the alarm.

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

      Constraints:
      Length: 0 - 255

      パラメータ:
        `alarmDescription` - The description for the alarm.

    - #### isActionsEnabled

          public java.lang.Boolean isActionsEnabled()

      Indicates whether or not actions should be executed during any changes to the alarm's state.
      戻り値:
        Indicates whether or not actions should be executed during any changes to the alarm's state.

    - #### setActionsEnabled

          public void setActionsEnabled(java.lang.Boolean actionsEnabled)

      Indicates whether or not actions should be executed during any changes to the alarm's state.
      パラメータ:
        `actionsEnabled` - Indicates whether or not actions should be executed during any changes to the alarm's state.

    - #### withActionsEnabled

          public PutMetricAlarmRequest withActionsEnabled(java.lang.Boolean actionsEnabled)

      Indicates whether or not actions should be executed during any changes to the alarm's state.

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

      パラメータ:
        `actionsEnabled` - Indicates whether or not actions should be executed during any changes to the alarm's state.

    - #### getActionsEnabled

          public java.lang.Boolean getActionsEnabled()

      Indicates whether or not actions should be executed during any changes to the alarm's state.
      戻り値:
        Indicates whether or not actions should be executed during any changes to the alarm's state.

    - #### getOKActions

          public java.util.List<java.lang.String> getOKActions()

      The list of actions to execute when this alarm transitions into an `OK` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

      Constraints:
      Length: 0 - 5

      戻り値:
        The list of actions to execute when this alarm transitions into an `OK` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### setOKActions

          public void setOKActions(java.util.Collection<java.lang.String> oKActions)

      The list of actions to execute when this alarm transitions into an `OK` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

      Constraints:
      Length: 0 - 5

      パラメータ:
        `oKActions` - The list of actions to execute when this alarm transitions into an `OK` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### withOKActions

          public PutMetricAlarmRequest withOKActions(java.lang.String... oKActions)

      The list of actions to execute when this alarm transitions into an `OK` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `oKActions` - The list of actions to execute when this alarm transitions into an `OK` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### withOKActions

          public PutMetricAlarmRequest withOKActions(java.util.Collection<java.lang.String> oKActions)

      The list of actions to execute when this alarm transitions into an `OK` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `oKActions` - The list of actions to execute when this alarm transitions into an `OK` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### getAlarmActions

          public java.util.List<java.lang.String> getAlarmActions()

      The list of actions to execute when this alarm transitions into an `ALARM` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

      Constraints:
      Length: 0 - 5

      戻り値:
        The list of actions to execute when this alarm transitions into an `ALARM` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### setAlarmActions

          public void setAlarmActions(java.util.Collection<java.lang.String> alarmActions)

      The list of actions to execute when this alarm transitions into an `ALARM` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

      Constraints:
      Length: 0 - 5

      パラメータ:
        `alarmActions` - The list of actions to execute when this alarm transitions into an `ALARM` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### withAlarmActions

          public PutMetricAlarmRequest withAlarmActions(java.lang.String... alarmActions)

      The list of actions to execute when this alarm transitions into an `ALARM` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `alarmActions` - The list of actions to execute when this alarm transitions into an `ALARM` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### withAlarmActions

          public PutMetricAlarmRequest withAlarmActions(java.util.Collection<java.lang.String> alarmActions)

      The list of actions to execute when this alarm transitions into an `ALARM` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `alarmActions` - The list of actions to execute when this alarm transitions into an `ALARM` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### getInsufficientDataActions

          public java.util.List<java.lang.String> getInsufficientDataActions()

      The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

      Constraints:
      Length: 0 - 5

      戻り値:
        The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### setInsufficientDataActions

          public void setInsufficientDataActions(java.util.Collection<java.lang.String> insufficientDataActions)

      The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

      Constraints:
      Length: 0 - 5

      パラメータ:
        `insufficientDataActions` - The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### withInsufficientDataActions

          public PutMetricAlarmRequest withInsufficientDataActions(java.lang.String... insufficientDataActions)

      The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `insufficientDataActions` - The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### withInsufficientDataActions

          public PutMetricAlarmRequest withInsufficientDataActions(java.util.Collection<java.lang.String> insufficientDataActions)

      The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `insufficientDataActions` - The list of actions to execute when this alarm transitions into an `INSUFFICIENT_DATA` state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

    - #### getMetricName

          public java.lang.String getMetricName()

      The name for the alarm's associated metric.

      Constraints:
      Length: 1 - 255

      戻り値:
        The name for the alarm's associated metric.

    - #### setMetricName

          public void setMetricName(java.lang.String metricName)

      The name for the alarm's associated metric.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `metricName` - The name for the alarm's associated metric.

    - #### withMetricName

          public PutMetricAlarmRequest withMetricName(java.lang.String metricName)

      The name for the alarm's associated metric.

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `metricName` - The name for the alarm's associated metric.

    - #### getNamespace

          public java.lang.String getNamespace()

      The namespace for the alarm's associated metric.

      Constraints:
      Length: 1 - 255
      Pattern: [^:].*

      戻り値:
        The namespace for the alarm's associated metric.

    - #### setNamespace

          public void setNamespace(java.lang.String namespace)

      The namespace for the alarm's associated metric.

      Constraints:
      Length: 1 - 255
      Pattern: [^:].*

      パラメータ:
        `namespace` - The namespace for the alarm's associated metric.

    - #### withNamespace

          public PutMetricAlarmRequest withNamespace(java.lang.String namespace)

      The namespace for the alarm's associated metric.

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

      Constraints:
      Length: 1 - 255
      Pattern: [^:].*

      パラメータ:
        `namespace` - The namespace for the alarm's associated metric.

    - #### getStatistic

          public java.lang.String getStatistic()

      The statistic to apply to the alarm's associated metric.

      Constraints:
      Allowed Values: SampleCount, Average, Sum, Minimum, Maximum

      戻り値:
        The statistic to apply to the alarm's associated metric.
      関連項目:
        `Statistic`

    - #### setStatistic

          public void setStatistic(java.lang.String statistic)

      The statistic to apply to the alarm's associated metric.

      Constraints:
      Allowed Values: SampleCount, Average, Sum, Minimum, Maximum

      パラメータ:
        `statistic` - The statistic to apply to the alarm's associated metric.
      関連項目:
        `Statistic`

    - #### withStatistic

          public PutMetricAlarmRequest withStatistic(java.lang.String statistic)

      The statistic to apply to the alarm's associated metric.

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

      Constraints:
      Allowed Values: SampleCount, Average, Sum, Minimum, Maximum

      パラメータ:
        `statistic` - The statistic to apply to the alarm's associated metric.
      関連項目:
        `Statistic`

    - #### setStatistic

          public void setStatistic(Statistic statistic)

      The statistic to apply to the alarm's associated metric.

      Constraints:
      Allowed Values: SampleCount, Average, Sum, Minimum, Maximum

      パラメータ:
        `statistic` - The statistic to apply to the alarm's associated metric.
      関連項目:
        `Statistic`

    - #### withStatistic

          public PutMetricAlarmRequest withStatistic(Statistic statistic)

      The statistic to apply to the alarm's associated metric.

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

      Constraints:
      Allowed Values: SampleCount, Average, Sum, Minimum, Maximum

      パラメータ:
        `statistic` - The statistic to apply to the alarm's associated metric.
      関連項目:
        `Statistic`

    - #### getDimensions

          public java.util.List<Dimension> getDimensions()

      The dimensions for the alarm's associated metric.

      Constraints:
      Length: 0 - 10

      戻り値:
        The dimensions for the alarm's associated metric.

    - #### setDimensions

          public void setDimensions(java.util.Collection<Dimension> dimensions)

      The dimensions for the alarm's associated metric.

      Constraints:
      Length: 0 - 10

      パラメータ:
        `dimensions` - The dimensions for the alarm's associated metric.

    - #### withDimensions

          public PutMetricAlarmRequest withDimensions(Dimension... dimensions)

      The dimensions for the alarm's associated metric.

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

      Constraints:
      Length: 0 - 10

      パラメータ:
        `dimensions` - The dimensions for the alarm's associated metric.

    - #### withDimensions

          public PutMetricAlarmRequest withDimensions(java.util.Collection<Dimension> dimensions)

      The dimensions for the alarm's associated metric.

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

      Constraints:
      Length: 0 - 10

      パラメータ:
        `dimensions` - The dimensions for the alarm's associated metric.

    - #### getPeriod

          public java.lang.Integer getPeriod()

      The period in seconds over which the specified statistic is applied.

      Constraints:
      Range: 60 -

      戻り値:
        The period in seconds over which the specified statistic is applied.

    - #### setPeriod

          public void setPeriod(java.lang.Integer period)

      The period in seconds over which the specified statistic is applied.

      Constraints:
      Range: 60 -

      パラメータ:
        `period` - The period in seconds over which the specified statistic is applied.

    - #### withPeriod

          public PutMetricAlarmRequest withPeriod(java.lang.Integer period)

      The period in seconds over which the specified statistic is applied.

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

      Constraints:
      Range: 60 -

      パラメータ:
        `period` - The period in seconds over which the specified statistic is applied.

    - #### getUnit

          public java.lang.String getUnit()

      The unit for the alarm's associated metric.

      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 unit for the alarm's associated metric.
      関連項目:
        `StandardUnit`

    - #### setUnit

          public void setUnit(java.lang.String unit)

      The unit for the alarm's associated metric.

      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 unit for the alarm's associated metric.
      関連項目:
        `StandardUnit`

    - #### withUnit

          public PutMetricAlarmRequest withUnit(java.lang.String unit)

      The unit for the alarm's associated metric.

      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 unit for the alarm's associated metric.
      関連項目:
        `StandardUnit`

    - #### setUnit

          public void setUnit(StandardUnit unit)

      The unit for the alarm's associated metric.

      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 unit for the alarm's associated metric.
      関連項目:
        `StandardUnit`

    - #### withUnit

          public PutMetricAlarmRequest withUnit(StandardUnit unit)

      The unit for the alarm's associated metric.

      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 unit for the alarm's associated metric.
      関連項目:
        `StandardUnit`

    - #### getEvaluationPeriods

          public java.lang.Integer getEvaluationPeriods()

      The number of periods over which data is compared to the specified threshold.

      Constraints:
      Range: 1 -

      戻り値:
        The number of periods over which data is compared to the specified threshold.

    - #### setEvaluationPeriods

          public void setEvaluationPeriods(java.lang.Integer evaluationPeriods)

      The number of periods over which data is compared to the specified threshold.

      Constraints:
      Range: 1 -

      パラメータ:
        `evaluationPeriods` - The number of periods over which data is compared to the specified threshold.

    - #### withEvaluationPeriods

          public PutMetricAlarmRequest withEvaluationPeriods(java.lang.Integer evaluationPeriods)

      The number of periods over which data is compared to the specified threshold.

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

      Constraints:
      Range: 1 -

      パラメータ:
        `evaluationPeriods` - The number of periods over which data is compared to the specified threshold.

    - #### getThreshold

          public java.lang.Double getThreshold()

      The value against which the specified statistic is compared.
      戻り値:
        The value against which the specified statistic is compared.

    - #### setThreshold

          public void setThreshold(java.lang.Double threshold)

      The value against which the specified statistic is compared.
      パラメータ:
        `threshold` - The value against which the specified statistic is compared.

    - #### withThreshold

          public PutMetricAlarmRequest withThreshold(java.lang.Double threshold)

      The value against which the specified statistic is compared.

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

      パラメータ:
        `threshold` - The value against which the specified statistic is compared.

    - #### getComparisonOperator

          public java.lang.String getComparisonOperator()

      The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.

      Constraints:
      Allowed Values: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold

      戻り値:
        The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.
      関連項目:
        `ComparisonOperator`

    - #### setComparisonOperator

          public void setComparisonOperator(java.lang.String comparisonOperator)

      The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.

      Constraints:
      Allowed Values: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold

      パラメータ:
        `comparisonOperator` - The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.
      関連項目:
        `ComparisonOperator`

    - #### withComparisonOperator

          public PutMetricAlarmRequest withComparisonOperator(java.lang.String comparisonOperator)

      The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.

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

      Constraints:
      Allowed Values: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold

      パラメータ:
        `comparisonOperator` - The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.
      関連項目:
        `ComparisonOperator`

    - #### setComparisonOperator

          public void setComparisonOperator(ComparisonOperator comparisonOperator)

      The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.

      Constraints:
      Allowed Values: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold

      パラメータ:
        `comparisonOperator` - The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.
      関連項目:
        `ComparisonOperator`

    - #### withComparisonOperator

          public PutMetricAlarmRequest withComparisonOperator(ComparisonOperator comparisonOperator)

      The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.

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

      Constraints:
      Allowed Values: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold

      パラメータ:
        `comparisonOperator` - The arithmetic operation to use when comparing the specified `Statistic` and `Threshold`. The specified `Statistic` value is used as the first operand.
      関連項目:
        `ComparisonOperator`

    - #### 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`