com.amazonaws.services.ec2.model

## クラス InstanceStatusEvent

- java.lang.Object
- - com.amazonaws.services.ec2.model.InstanceStatusEvent

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

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

  Represents an event that affects the status of an Amazon EC2 instance.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCode()` The associated code of the event.
    `java.lang.String` | `getDescription()` A description of the event.
    `java.util.Date` | `getNotAfter()` The latest scheduled end time for the event.
    `java.util.Date` | `getNotBefore()` The earliest scheduled start time for the event.
    `int` | `hashCode()`
    `void` | `setCode(java.lang.String code)` The associated code of the event.
    `void` | `setDescription(java.lang.String description)` A description of the event.
    `void` | `setNotAfter(java.util.Date notAfter)` The latest scheduled end time for the event.
    `void` | `setNotBefore(java.util.Date notBefore)` The earliest scheduled start time for the event.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InstanceStatusEvent` | `withCode(java.lang.String code)` The associated code of the event.
    `InstanceStatusEvent` | `withDescription(java.lang.String description)` A description of the event.
    `InstanceStatusEvent` | `withNotAfter(java.util.Date notAfter)` The latest scheduled end time for the event.
    `InstanceStatusEvent` | `withNotBefore(java.util.Date notBefore)` The earliest scheduled start time for the event.

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

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

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

    - #### InstanceStatusEvent

          public InstanceStatusEvent()

  - ### メソッドの詳細

    - #### getCode

          public java.lang.String getCode()

      The associated code of the event. Valid values: instance-reboot, system-reboot, instance-retirement
      戻り値:
        The associated code of the event. Valid values: instance-reboot, system-reboot, instance-retirement

    - #### setCode

          public void setCode(java.lang.String code)

      The associated code of the event. Valid values: instance-reboot, system-reboot, instance-retirement
      パラメータ:
        `code` - The associated code of the event. Valid values: instance-reboot, system-reboot, instance-retirement

    - #### withCode

          public InstanceStatusEvent withCode(java.lang.String code)

      The associated code of the event. Valid values: instance-reboot, system-reboot, instance-retirement

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

      パラメータ:
        `code` - The associated code of the event. Valid values: instance-reboot, system-reboot, instance-retirement

    - #### getDescription

          public java.lang.String getDescription()

      A description of the event.
      戻り値:
        A description of the event.

    - #### setDescription

          public void setDescription(java.lang.String description)

      A description of the event.
      パラメータ:
        `description` - A description of the event.

    - #### withDescription

          public InstanceStatusEvent withDescription(java.lang.String description)

      A description of the event.

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

      パラメータ:
        `description` - A description of the event.

    - #### getNotBefore

          public java.util.Date getNotBefore()

      The earliest scheduled start time for the event.
      戻り値:
        The earliest scheduled start time for the event.

    - #### setNotBefore

          public void setNotBefore(java.util.Date notBefore)

      The earliest scheduled start time for the event.
      パラメータ:
        `notBefore` - The earliest scheduled start time for the event.

    - #### withNotBefore

          public InstanceStatusEvent withNotBefore(java.util.Date notBefore)

      The earliest scheduled start time for the event.

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

      パラメータ:
        `notBefore` - The earliest scheduled start time for the event.

    - #### getNotAfter

          public java.util.Date getNotAfter()

      The latest scheduled end time for the event.
      戻り値:
        The latest scheduled end time for the event.

    - #### setNotAfter

          public void setNotAfter(java.util.Date notAfter)

      The latest scheduled end time for the event.
      パラメータ:
        `notAfter` - The latest scheduled end time for the event.

    - #### withNotAfter

          public InstanceStatusEvent withNotAfter(java.util.Date notAfter)

      The latest scheduled end time for the event.

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

      パラメータ:
        `notAfter` - The latest scheduled end time for the event.

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