com.amazonaws.services.cloudwatch.model

## クラス DescribeAlarmHistoryRequest

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

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

      public class DescribeAlarmHistoryRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeAlarmHistory operation`.

  Retrieves history for the specified alarm. Filter alarms by date range or item type. If an alarm name is not specified, Amazon CloudWatch returns histories for all of the owner's alarms.

  NOTE: Amazon CloudWatch retains the history of an alarm for two weeks, whether or not you delete the alarm.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAlarmName()` The name of the alarm.
    `java.util.Date` | `getEndDate()` The ending date to retrieve alarm history.
    `java.lang.String` | `getHistoryItemType()` The type of alarm histories to retrieve.
    `java.lang.Integer` | `getMaxRecords()` The maximum number of alarm history records to retrieve.
    `java.lang.String` | `getNextToken()` The token returned by a previous call to indicate that there is more data available.
    `java.util.Date` | `getStartDate()` The starting date to retrieve alarm history.
    `int` | `hashCode()`
    `void` | `setAlarmName(java.lang.String alarmName)` The name of the alarm.
    `void` | `setEndDate(java.util.Date endDate)` The ending date to retrieve alarm history.
    `void` | `setHistoryItemType(HistoryItemType historyItemType)` The type of alarm histories to retrieve.
    `void` | `setHistoryItemType(java.lang.String historyItemType)` The type of alarm histories to retrieve.
    `void` | `setMaxRecords(java.lang.Integer maxRecords)` The maximum number of alarm history records to retrieve.
    `void` | `setNextToken(java.lang.String nextToken)` The token returned by a previous call to indicate that there is more data available.
    `void` | `setStartDate(java.util.Date startDate)` The starting date to retrieve alarm history.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeAlarmHistoryRequest` | `withAlarmName(java.lang.String alarmName)` The name of the alarm.
    `DescribeAlarmHistoryRequest` | `withEndDate(java.util.Date endDate)` The ending date to retrieve alarm history.
    `DescribeAlarmHistoryRequest` | `withHistoryItemType(HistoryItemType historyItemType)` The type of alarm histories to retrieve.
    `DescribeAlarmHistoryRequest` | `withHistoryItemType(java.lang.String historyItemType)` The type of alarm histories to retrieve.
    `DescribeAlarmHistoryRequest` | `withMaxRecords(java.lang.Integer maxRecords)` The maximum number of alarm history records to retrieve.
    `DescribeAlarmHistoryRequest` | `withNextToken(java.lang.String nextToken)` The token returned by a previous call to indicate that there is more data available.
    `DescribeAlarmHistoryRequest` | `withStartDate(java.util.Date startDate)` The starting date to retrieve alarm history.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeAlarmHistoryRequest

          public DescribeAlarmHistoryRequest()

  - ### メソッドの詳細

    - #### getAlarmName

          public java.lang.String getAlarmName()

      The name of the alarm.

      Constraints:
      Length: 1 - 255

      戻り値:
        The name of the alarm.

    - #### setAlarmName

          public void setAlarmName(java.lang.String alarmName)

      The name of the alarm.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `alarmName` - The name of the alarm.

    - #### withAlarmName

          public DescribeAlarmHistoryRequest withAlarmName(java.lang.String alarmName)

      The name of the alarm.

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `alarmName` - The name of the alarm.

    - #### getHistoryItemType

          public java.lang.String getHistoryItemType()

      The type of alarm histories to retrieve.

      Constraints:
      Allowed Values: ConfigurationUpdate, StateUpdate, Action

      戻り値:
        The type of alarm histories to retrieve.
      関連項目:
        `HistoryItemType`

    - #### setHistoryItemType

          public void setHistoryItemType(java.lang.String historyItemType)

      The type of alarm histories to retrieve.

      Constraints:
      Allowed Values: ConfigurationUpdate, StateUpdate, Action

      パラメータ:
        `historyItemType` - The type of alarm histories to retrieve.
      関連項目:
        `HistoryItemType`

    - #### withHistoryItemType

          public DescribeAlarmHistoryRequest withHistoryItemType(java.lang.String historyItemType)

      The type of alarm histories to retrieve.

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

      Constraints:
      Allowed Values: ConfigurationUpdate, StateUpdate, Action

      パラメータ:
        `historyItemType` - The type of alarm histories to retrieve.
      関連項目:
        `HistoryItemType`

    - #### setHistoryItemType

          public void setHistoryItemType(HistoryItemType historyItemType)

      The type of alarm histories to retrieve.

      Constraints:
      Allowed Values: ConfigurationUpdate, StateUpdate, Action

      パラメータ:
        `historyItemType` - The type of alarm histories to retrieve.
      関連項目:
        `HistoryItemType`

    - #### withHistoryItemType

          public DescribeAlarmHistoryRequest withHistoryItemType(HistoryItemType historyItemType)

      The type of alarm histories to retrieve.

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

      Constraints:
      Allowed Values: ConfigurationUpdate, StateUpdate, Action

      パラメータ:
        `historyItemType` - The type of alarm histories to retrieve.
      関連項目:
        `HistoryItemType`

    - #### getStartDate

          public java.util.Date getStartDate()

      The starting date to retrieve alarm history.
      戻り値:
        The starting date to retrieve alarm history.

    - #### setStartDate

          public void setStartDate(java.util.Date startDate)

      The starting date to retrieve alarm history.
      パラメータ:
        `startDate` - The starting date to retrieve alarm history.

    - #### withStartDate

          public DescribeAlarmHistoryRequest withStartDate(java.util.Date startDate)

      The starting date to retrieve alarm history.

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

      パラメータ:
        `startDate` - The starting date to retrieve alarm history.

    - #### getEndDate

          public java.util.Date getEndDate()

      The ending date to retrieve alarm history.
      戻り値:
        The ending date to retrieve alarm history.

    - #### setEndDate

          public void setEndDate(java.util.Date endDate)

      The ending date to retrieve alarm history.
      パラメータ:
        `endDate` - The ending date to retrieve alarm history.

    - #### withEndDate

          public DescribeAlarmHistoryRequest withEndDate(java.util.Date endDate)

      The ending date to retrieve alarm history.

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

      パラメータ:
        `endDate` - The ending date to retrieve alarm history.

    - #### getMaxRecords

          public java.lang.Integer getMaxRecords()

      The maximum number of alarm history records to retrieve.

      Constraints:
      Range: 1 - 100

      戻り値:
        The maximum number of alarm history records to retrieve.

    - #### setMaxRecords

          public void setMaxRecords(java.lang.Integer maxRecords)

      The maximum number of alarm history records to retrieve.

      Constraints:
      Range: 1 - 100

      パラメータ:
        `maxRecords` - The maximum number of alarm history records to retrieve.

    - #### withMaxRecords

          public DescribeAlarmHistoryRequest withMaxRecords(java.lang.Integer maxRecords)

      The maximum number of alarm history records to retrieve.

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

      Constraints:
      Range: 1 - 100

      パラメータ:
        `maxRecords` - The maximum number of alarm history records to retrieve.

    - #### getNextToken

          public java.lang.String getNextToken()

      The token returned by a previous call to indicate that there is more data available.
      戻り値:
        The token returned by a previous call to indicate that there is more data available.

    - #### setNextToken

          public void setNextToken(java.lang.String nextToken)

      The token returned by a previous call to indicate that there is more data available.
      パラメータ:
        `nextToken` - The token returned by a previous call to indicate that there is more data available.

    - #### withNextToken

          public DescribeAlarmHistoryRequest withNextToken(java.lang.String nextToken)

      The token returned by a previous call to indicate that there is more data available.

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

      パラメータ:
        `nextToken` - The token returned by a previous call to indicate that there is more data available.

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