com.amazonaws.services.opsworks.model

## クラス DescribeCommandsRequest

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

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

      public class DescribeCommandsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeCommands operation`.

  Describes the results of specified commands.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getCommandIds()` An array of command IDs.
    `java.lang.String` | `getDeploymentId()` The deployment ID.
    `java.lang.String` | `getInstanceId()` The instance ID.
    `int` | `hashCode()`
    `void` | `setCommandIds(java.util.Collection<java.lang.String> commandIds)` An array of command IDs.
    `void` | `setDeploymentId(java.lang.String deploymentId)` The deployment ID.
    `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.
    `DescribeCommandsRequest` | `withCommandIds(java.util.Collection<java.lang.String> commandIds)` An array of command IDs.
    `DescribeCommandsRequest` | `withCommandIds(java.lang.String... commandIds)` An array of command IDs.
    `DescribeCommandsRequest` | `withDeploymentId(java.lang.String deploymentId)` The deployment ID.
    `DescribeCommandsRequest` | `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`

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

    - #### DescribeCommandsRequest

          public DescribeCommandsRequest()

  - ### メソッドの詳細

    - #### getDeploymentId

          public java.lang.String getDeploymentId()

      The deployment ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified deployment.
      戻り値:
        The deployment ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified deployment.

    - #### setDeploymentId

          public void setDeploymentId(java.lang.String deploymentId)

      The deployment ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified deployment.
      パラメータ:
        `deploymentId` - The deployment ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified deployment.

    - #### withDeploymentId

          public DescribeCommandsRequest withDeploymentId(java.lang.String deploymentId)

      The deployment ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified deployment.

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

      パラメータ:
        `deploymentId` - The deployment ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified deployment.

    - #### getInstanceId

          public java.lang.String getInstanceId()

      The instance ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified instance.
      戻り値:
        The instance ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified instance.

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      The instance ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified instance.
      パラメータ:
        `instanceId` - The instance ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified instance.

    - #### withInstanceId

          public DescribeCommandsRequest withInstanceId(java.lang.String instanceId)

      The instance ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified instance.

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

      パラメータ:
        `instanceId` - The instance ID. If you include this parameter, `DescribeCommands` returns a description of the commands associated with the specified instance.

    - #### getCommandIds

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

      An array of command IDs. If you include this parameter, `DescribeCommands` returns a description of the specified commands. Otherwise, it returns a description of every command.
      戻り値:
        An array of command IDs. If you include this parameter, `DescribeCommands` returns a description of the specified commands. Otherwise, it returns a description of every command.

    - #### setCommandIds

          public void setCommandIds(java.util.Collection<java.lang.String> commandIds)

      An array of command IDs. If you include this parameter, `DescribeCommands` returns a description of the specified commands. Otherwise, it returns a description of every command.
      パラメータ:
        `commandIds` - An array of command IDs. If you include this parameter, `DescribeCommands` returns a description of the specified commands. Otherwise, it returns a description of every command.

    - #### withCommandIds

          public DescribeCommandsRequest withCommandIds(java.lang.String... commandIds)

      An array of command IDs. If you include this parameter, `DescribeCommands` returns a description of the specified commands. Otherwise, it returns a description of every command.

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

      パラメータ:
        `commandIds` - An array of command IDs. If you include this parameter, `DescribeCommands` returns a description of the specified commands. Otherwise, it returns a description of every command.

    - #### withCommandIds

          public DescribeCommandsRequest withCommandIds(java.util.Collection<java.lang.String> commandIds)

      An array of command IDs. If you include this parameter, `DescribeCommands` returns a description of the specified commands. Otherwise, it returns a description of every command.

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

      パラメータ:
        `commandIds` - An array of command IDs. If you include this parameter, `DescribeCommands` returns a description of the specified commands. Otherwise, it returns a description of every command.

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