com.amazonaws.services.opsworks.model

## クラス DescribeInstancesRequest

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

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

      public class DescribeInstancesRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeInstances operation`.

  Requests a description of a set of instances associated with a specified ID or IDs.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getInstanceIds()` An array of instance IDs to be described.
    `java.lang.String` | `getLayerId()` A layer ID.
    `java.lang.String` | `getStackId()` A stack ID.
    `int` | `hashCode()`
    `void` | `setInstanceIds(java.util.Collection<java.lang.String> instanceIds)` An array of instance IDs to be described.
    `void` | `setLayerId(java.lang.String layerId)` A layer ID.
    `void` | `setStackId(java.lang.String stackId)` A stack ID.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeInstancesRequest` | `withInstanceIds(java.util.Collection<java.lang.String> instanceIds)` An array of instance IDs to be described.
    `DescribeInstancesRequest` | `withInstanceIds(java.lang.String... instanceIds)` An array of instance IDs to be described.
    `DescribeInstancesRequest` | `withLayerId(java.lang.String layerId)` A layer ID.
    `DescribeInstancesRequest` | `withStackId(java.lang.String stackId)` A stack ID.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeInstancesRequest

          public DescribeInstancesRequest()

  - ### メソッドの詳細

    - #### getStackId

          public java.lang.String getStackId()

      A stack ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified stack.
      戻り値:
        A stack ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified stack.

    - #### setStackId

          public void setStackId(java.lang.String stackId)

      A stack ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified stack.
      パラメータ:
        `stackId` - A stack ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified stack.

    - #### withStackId

          public DescribeInstancesRequest withStackId(java.lang.String stackId)

      A stack ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified stack.

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

      パラメータ:
        `stackId` - A stack ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified stack.

    - #### getLayerId

          public java.lang.String getLayerId()

      A layer ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified layer.
      戻り値:
        A layer ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified layer.

    - #### setLayerId

          public void setLayerId(java.lang.String layerId)

      A layer ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified layer.
      パラメータ:
        `layerId` - A layer ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified layer.

    - #### withLayerId

          public DescribeInstancesRequest withLayerId(java.lang.String layerId)

      A layer ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified layer.

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

      パラメータ:
        `layerId` - A layer ID. If you use this parameter, `DescribeInstances` returns descriptions of the instances associated with the specified layer.

    - #### getInstanceIds

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

      An array of instance IDs to be described. If you use this parameter, `DescribeInstances` returns a description of the specified instances. Otherwise, it returns a description of every instance.
      戻り値:
        An array of instance IDs to be described. If you use this parameter, `DescribeInstances` returns a description of the specified instances. Otherwise, it returns a description of every instance.

    - #### setInstanceIds

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

      An array of instance IDs to be described. If you use this parameter, `DescribeInstances` returns a description of the specified instances. Otherwise, it returns a description of every instance.
      パラメータ:
        `instanceIds` - An array of instance IDs to be described. If you use this parameter, `DescribeInstances` returns a description of the specified instances. Otherwise, it returns a description of every instance.

    - #### withInstanceIds

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

      An array of instance IDs to be described. If you use this parameter, `DescribeInstances` returns a description of the specified instances. Otherwise, it returns a description of every instance.

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

      パラメータ:
        `instanceIds` - An array of instance IDs to be described. If you use this parameter, `DescribeInstances` returns a description of the specified instances. Otherwise, it returns a description of every instance.

    - #### withInstanceIds

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

      An array of instance IDs to be described. If you use this parameter, `DescribeInstances` returns a description of the specified instances. Otherwise, it returns a description of every instance.

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

      パラメータ:
        `instanceIds` - An array of instance IDs to be described. If you use this parameter, `DescribeInstances` returns a description of the specified instances. Otherwise, it returns a description of every 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`