com.amazonaws.services.ec2.model

## クラス TerminateInstancesRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.TerminateInstancesRequest

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

      public class TerminateInstancesRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `TerminateInstances operation`.

  The TerminateInstances operation shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call will succeed.

  Terminated instances will remain visible after termination (approximately one hour).

  関連項目:
    `AmazonEC2.terminateInstances(TerminateInstancesRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `TerminateInstancesRequest()` Default constructor for a new TerminateInstancesRequest object.
    `TerminateInstancesRequest(java.util.List<java.lang.String> instanceIds)` Constructs a new TerminateInstancesRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getInstanceIds()` The list of instances to terminate.
    `int` | `hashCode()`
    `void` | `setInstanceIds(java.util.Collection<java.lang.String> instanceIds)` The list of instances to terminate.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `TerminateInstancesRequest` | `withInstanceIds(java.util.Collection<java.lang.String> instanceIds)` The list of instances to terminate.
    `TerminateInstancesRequest` | `withInstanceIds(java.lang.String... instanceIds)` The list of instances to terminate.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### TerminateInstancesRequest

          public TerminateInstancesRequest()

      Default constructor for a new TerminateInstancesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### TerminateInstancesRequest

          public TerminateInstancesRequest(java.util.List<java.lang.String> instanceIds)

      Constructs a new TerminateInstancesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `instanceIds` - The list of instances to terminate.

  - ### メソッドの詳細

    - #### getInstanceIds

          public java.util.List<java.lang.String> getInstanceIds()

      The list of instances to terminate.
      戻り値:
        The list of instances to terminate.

    - #### setInstanceIds

          public void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)

      The list of instances to terminate.
      パラメータ:
        `instanceIds` - The list of instances to terminate.

    - #### withInstanceIds

          public TerminateInstancesRequest withInstanceIds(java.lang.String... instanceIds)

      The list of instances to terminate.

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

      パラメータ:
        `instanceIds` - The list of instances to terminate.

    - #### withInstanceIds

          public TerminateInstancesRequest withInstanceIds(java.util.Collection<java.lang.String> instanceIds)

      The list of instances to terminate.

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

      パラメータ:
        `instanceIds` - The list of instances to terminate.

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