com.amazonaws.services.autoscaling.model

## クラス Instance

- java.lang.Object
- - com.amazonaws.services.autoscaling.model.Instance

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

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

  The `Instance` data type.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAvailabilityZone()` Availability Zones associated with this instance.
    `java.lang.String` | `getHealthStatus()` The instance's health status.
    `java.lang.String` | `getInstanceId()` Specifies the ID of the Amazon EC2 instance.
    `java.lang.String` | `getLaunchConfigurationName()` The launch configuration associated with this instance.
    `java.lang.String` | `getLifecycleState()` Contains a description of the current lifecycle state.
    `int` | `hashCode()`
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` Availability Zones associated with this instance.
    `void` | `setHealthStatus(java.lang.String healthStatus)` The instance's health status.
    `void` | `setInstanceId(java.lang.String instanceId)` Specifies the ID of the Amazon EC2 instance.
    `void` | `setLaunchConfigurationName(java.lang.String launchConfigurationName)` The launch configuration associated with this instance.
    `void` | `setLifecycleState(LifecycleState lifecycleState)` Contains a description of the current lifecycle state.
    `void` | `setLifecycleState(java.lang.String lifecycleState)` Contains a description of the current lifecycle state.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Instance` | `withAvailabilityZone(java.lang.String availabilityZone)` Availability Zones associated with this instance.
    `Instance` | `withHealthStatus(java.lang.String healthStatus)` The instance's health status.
    `Instance` | `withInstanceId(java.lang.String instanceId)` Specifies the ID of the Amazon EC2 instance.
    `Instance` | `withLaunchConfigurationName(java.lang.String launchConfigurationName)` The launch configuration associated with this instance.
    `Instance` | `withLifecycleState(LifecycleState lifecycleState)` Contains a description of the current lifecycle state.
    `Instance` | `withLifecycleState(java.lang.String lifecycleState)` Contains a description of the current lifecycle state.

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

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

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

    - #### Instance

          public Instance()

  - ### メソッドの詳細

    - #### getInstanceId

          public java.lang.String getInstanceId()

      Specifies the ID of the Amazon EC2 instance.

      Constraints:
      Length: 1 - 16
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

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

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      Specifies the ID of the Amazon EC2 instance.

      Constraints:
      Length: 1 - 16
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

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

    - #### withInstanceId

          public Instance withInstanceId(java.lang.String instanceId)

      Specifies the ID of the Amazon EC2 instance.

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

      Constraints:
      Length: 1 - 16
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

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

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      Availability Zones associated with this instance.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Availability Zones associated with this instance.

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      Availability Zones associated with this instance.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `availabilityZone` - Availability Zones associated with this instance.

    - #### withAvailabilityZone

          public Instance withAvailabilityZone(java.lang.String availabilityZone)

      Availability Zones associated with this instance.

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

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `availabilityZone` - Availability Zones associated with this instance.

    - #### getLifecycleState

          public java.lang.String getLifecycleState()

      Contains a description of the current lifecycle state.

      Constraints:
      Allowed Values: Pending, Quarantined, InService, Terminating, Terminated

      戻り値:
        Contains a description of the current lifecycle state.
      関連項目:
        `LifecycleState`

    - #### setLifecycleState

          public void setLifecycleState(java.lang.String lifecycleState)

      Contains a description of the current lifecycle state.

      Constraints:
      Allowed Values: Pending, Quarantined, InService, Terminating, Terminated

      パラメータ:
        `lifecycleState` - Contains a description of the current lifecycle state.
      関連項目:
        `LifecycleState`

    - #### withLifecycleState

          public Instance withLifecycleState(java.lang.String lifecycleState)

      Contains a description of the current lifecycle state.

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

      Constraints:
      Allowed Values: Pending, Quarantined, InService, Terminating, Terminated

      パラメータ:
        `lifecycleState` - Contains a description of the current lifecycle state.
      関連項目:
        `LifecycleState`

    - #### setLifecycleState

          public void setLifecycleState(LifecycleState lifecycleState)

      Contains a description of the current lifecycle state.

      Constraints:
      Allowed Values: Pending, Quarantined, InService, Terminating, Terminated

      パラメータ:
        `lifecycleState` - Contains a description of the current lifecycle state.
      関連項目:
        `LifecycleState`

    - #### withLifecycleState

          public Instance withLifecycleState(LifecycleState lifecycleState)

      Contains a description of the current lifecycle state.

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

      Constraints:
      Allowed Values: Pending, Quarantined, InService, Terminating, Terminated

      パラメータ:
        `lifecycleState` - Contains a description of the current lifecycle state.
      関連項目:
        `LifecycleState`

    - #### getHealthStatus

          public java.lang.String getHealthStatus()

      The instance's health status.

      Constraints:
      Length: 1 - 32
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The instance's health status.

    - #### setHealthStatus

          public void setHealthStatus(java.lang.String healthStatus)

      The instance's health status.

      Constraints:
      Length: 1 - 32
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `healthStatus` - The instance's health status.

    - #### withHealthStatus

          public Instance withHealthStatus(java.lang.String healthStatus)

      The instance's health status.

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

      Constraints:
      Length: 1 - 32
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `healthStatus` - The instance's health status.

    - #### getLaunchConfigurationName

          public java.lang.String getLaunchConfigurationName()

      The launch configuration associated with this instance.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The launch configuration associated with this instance.

    - #### setLaunchConfigurationName

          public void setLaunchConfigurationName(java.lang.String launchConfigurationName)

      The launch configuration associated with this instance.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `launchConfigurationName` - The launch configuration associated with this instance.

    - #### withLaunchConfigurationName

          public Instance withLaunchConfigurationName(java.lang.String launchConfigurationName)

      The launch configuration associated with this instance.

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

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `launchConfigurationName` - The launch configuration associated with this instance.

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