com.amazonaws.services.opsworks.model

## クラス DeleteInstanceRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.opsworks.model.DeleteInstanceRequest

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

      public class DeleteInstanceRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DeleteInstance operation`.

  Deletes a specified instance. You must stop an instance before you can delete it. For more information, see Deleting Instances .

  関連項目:
    `AWSOpsWorks.deleteInstance(DeleteInstanceRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Boolean` | `getDeleteElasticIp()` Whether to delete the instance Elastic IP address.
    `java.lang.Boolean` | `getDeleteVolumes()` Whether to delete the instance Amazon EBS volumes.
    `java.lang.String` | `getInstanceId()` The instance ID.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isDeleteElasticIp()` Whether to delete the instance Elastic IP address.
    `java.lang.Boolean` | `isDeleteVolumes()` Whether to delete the instance Amazon EBS volumes.
    `void` | `setDeleteElasticIp(java.lang.Boolean deleteElasticIp)` Whether to delete the instance Elastic IP address.
    `void` | `setDeleteVolumes(java.lang.Boolean deleteVolumes)` Whether to delete the instance Amazon EBS volumes.
    `void` | `setInstanceId(java.lang.String instanceId)` The instance ID.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DeleteInstanceRequest` | `withDeleteElasticIp(java.lang.Boolean deleteElasticIp)` Whether to delete the instance Elastic IP address.
    `DeleteInstanceRequest` | `withDeleteVolumes(java.lang.Boolean deleteVolumes)` Whether to delete the instance Amazon EBS volumes.
    `DeleteInstanceRequest` | `withInstanceId(java.lang.String instanceId)` The instance ID.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DeleteInstanceRequest

          public DeleteInstanceRequest()

  - ### メソッドの詳細

    - #### getInstanceId

          public java.lang.String getInstanceId()

      The instance ID.
      戻り値:
        The instance ID.

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      The instance ID.
      パラメータ:
        `instanceId` - The instance ID.

    - #### withInstanceId

          public DeleteInstanceRequest withInstanceId(java.lang.String instanceId)

      The instance ID.

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

      パラメータ:
        `instanceId` - The instance ID.

    - #### isDeleteElasticIp

          public java.lang.Boolean isDeleteElasticIp()

      Whether to delete the instance Elastic IP address.
      戻り値:
        Whether to delete the instance Elastic IP address.

    - #### setDeleteElasticIp

          public void setDeleteElasticIp(java.lang.Boolean deleteElasticIp)

      Whether to delete the instance Elastic IP address.
      パラメータ:
        `deleteElasticIp` - Whether to delete the instance Elastic IP address.

    - #### withDeleteElasticIp

          public DeleteInstanceRequest withDeleteElasticIp(java.lang.Boolean deleteElasticIp)

      Whether to delete the instance Elastic IP address.

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

      パラメータ:
        `deleteElasticIp` - Whether to delete the instance Elastic IP address.

    - #### getDeleteElasticIp

          public java.lang.Boolean getDeleteElasticIp()

      Whether to delete the instance Elastic IP address.
      戻り値:
        Whether to delete the instance Elastic IP address.

    - #### isDeleteVolumes

          public java.lang.Boolean isDeleteVolumes()

      Whether to delete the instance Amazon EBS volumes.
      戻り値:
        Whether to delete the instance Amazon EBS volumes.

    - #### setDeleteVolumes

          public void setDeleteVolumes(java.lang.Boolean deleteVolumes)

      Whether to delete the instance Amazon EBS volumes.
      パラメータ:
        `deleteVolumes` - Whether to delete the instance Amazon EBS volumes.

    - #### withDeleteVolumes

          public DeleteInstanceRequest withDeleteVolumes(java.lang.Boolean deleteVolumes)

      Whether to delete the instance Amazon EBS volumes.

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

      パラメータ:
        `deleteVolumes` - Whether to delete the instance Amazon EBS volumes.

    - #### getDeleteVolumes

          public java.lang.Boolean getDeleteVolumes()

      Whether to delete the instance Amazon EBS volumes.
      戻り値:
        Whether to delete the instance Amazon EBS volumes.

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