com.amazonaws.services.ec2.model

## クラス InstanceStatus

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

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

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

  Represents the status of an Amazon EC2 instance.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAvailabilityZone()` The Amazon EC2 instance's availability zone.
    `java.util.List<InstanceStatusEvent>` | `getEvents()` Events that affect the status of the associated Amazon EC2 instance.
    `java.lang.String` | `getInstanceId()` The ID of the Amazon EC2 instance.
    `InstanceState` | `getInstanceState()` Represents the state of an Amazon EC2 instance.
    `InstanceStatusSummary` | `getInstanceStatus()` Returns the value of the InstanceStatus property for this object.
    `InstanceStatusSummary` | `getSystemStatus()` Returns the value of the SystemStatus property for this object.
    `int` | `hashCode()`
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` The Amazon EC2 instance's availability zone.
    `void` | `setEvents(java.util.Collection<InstanceStatusEvent> events)` Events that affect the status of the associated Amazon EC2 instance.
    `void` | `setInstanceId(java.lang.String instanceId)` The ID of the Amazon EC2 instance.
    `void` | `setInstanceState(InstanceState instanceState)` Represents the state of an Amazon EC2 instance.
    `void` | `setInstanceStatus(InstanceStatusSummary instanceStatus)` Sets the value of the InstanceStatus property for this object.
    `void` | `setSystemStatus(InstanceStatusSummary systemStatus)` Sets the value of the SystemStatus property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InstanceStatus` | `withAvailabilityZone(java.lang.String availabilityZone)` The Amazon EC2 instance's availability zone.
    `InstanceStatus` | `withEvents(java.util.Collection<InstanceStatusEvent> events)` Events that affect the status of the associated Amazon EC2 instance.
    `InstanceStatus` | `withEvents(InstanceStatusEvent... events)` Events that affect the status of the associated Amazon EC2 instance.
    `InstanceStatus` | `withInstanceId(java.lang.String instanceId)` The ID of the Amazon EC2 instance.
    `InstanceStatus` | `withInstanceState(InstanceState instanceState)` Represents the state of an Amazon EC2 instance.
    `InstanceStatus` | `withInstanceStatus(InstanceStatusSummary instanceStatus)` Sets the value of the InstanceStatus property for this object.
    `InstanceStatus` | `withSystemStatus(InstanceStatusSummary systemStatus)` Sets the value of the SystemStatus property for this object.

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

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

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

    - #### InstanceStatus

          public InstanceStatus()

  - ### メソッドの詳細

    - #### getInstanceId

          public java.lang.String getInstanceId()

      The ID of the Amazon EC2 instance.
      戻り値:
        The ID of the Amazon EC2 instance.

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      The ID of the Amazon EC2 instance.
      パラメータ:
        `instanceId` - The ID of the Amazon EC2 instance.

    - #### withInstanceId

          public InstanceStatus withInstanceId(java.lang.String instanceId)

      The ID of the Amazon EC2 instance.

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

      パラメータ:
        `instanceId` - The ID of the Amazon EC2 instance.

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      The Amazon EC2 instance's availability zone.
      戻り値:
        The Amazon EC2 instance's availability zone.

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      The Amazon EC2 instance's availability zone.
      パラメータ:
        `availabilityZone` - The Amazon EC2 instance's availability zone.

    - #### withAvailabilityZone

          public InstanceStatus withAvailabilityZone(java.lang.String availabilityZone)

      The Amazon EC2 instance's availability zone.

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

      パラメータ:
        `availabilityZone` - The Amazon EC2 instance's availability zone.

    - #### getEvents

          public java.util.List<InstanceStatusEvent> getEvents()

      Events that affect the status of the associated Amazon EC2 instance.
      戻り値:
        Events that affect the status of the associated Amazon EC2 instance.

    - #### setEvents

          public void setEvents(java.util.Collection<InstanceStatusEvent> events)

      Events that affect the status of the associated Amazon EC2 instance.
      パラメータ:
        `events` - Events that affect the status of the associated Amazon EC2 instance.

    - #### withEvents

          public InstanceStatus withEvents(InstanceStatusEvent... events)

      Events that affect the status of the associated Amazon EC2 instance.

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

      パラメータ:
        `events` - Events that affect the status of the associated Amazon EC2 instance.

    - #### withEvents

          public InstanceStatus withEvents(java.util.Collection<InstanceStatusEvent> events)

      Events that affect the status of the associated Amazon EC2 instance.

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

      パラメータ:
        `events` - Events that affect the status of the associated Amazon EC2 instance.

    - #### getInstanceState

          public InstanceState getInstanceState()

      Represents the state of an Amazon EC2 instance.
      戻り値:
        Represents the state of an Amazon EC2 instance.

    - #### setInstanceState

          public void setInstanceState(InstanceState instanceState)

      Represents the state of an Amazon EC2 instance.
      パラメータ:
        `instanceState` - Represents the state of an Amazon EC2 instance.

    - #### withInstanceState

          public InstanceStatus withInstanceState(InstanceState instanceState)

      Represents the state of an Amazon EC2 instance.

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

      パラメータ:
        `instanceState` - Represents the state of an Amazon EC2 instance.

    - #### getSystemStatus

          public InstanceStatusSummary getSystemStatus()

      Returns the value of the SystemStatus property for this object.
      戻り値:
        The value of the SystemStatus property for this object.

    - #### setSystemStatus

          public void setSystemStatus(InstanceStatusSummary systemStatus)

      Sets the value of the SystemStatus property for this object.
      パラメータ:
        `systemStatus` - The new value for the SystemStatus property for this object.

    - #### withSystemStatus

          public InstanceStatus withSystemStatus(InstanceStatusSummary systemStatus)

      Sets the value of the SystemStatus property for this object.

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

      パラメータ:
        `systemStatus` - The new value for the SystemStatus property for this object.

    - #### getInstanceStatus

          public InstanceStatusSummary getInstanceStatus()

      Returns the value of the InstanceStatus property for this object.
      戻り値:
        The value of the InstanceStatus property for this object.

    - #### setInstanceStatus

          public void setInstanceStatus(InstanceStatusSummary instanceStatus)

      Sets the value of the InstanceStatus property for this object.
      パラメータ:
        `instanceStatus` - The new value for the InstanceStatus property for this object.

    - #### withInstanceStatus

          public InstanceStatus withInstanceStatus(InstanceStatusSummary instanceStatus)

      Sets the value of the InstanceStatus property for this object.

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

      パラメータ:
        `instanceStatus` - The new value for the InstanceStatus property for this object.

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