com.amazonaws.services.opsworks.model

## クラス Command

- java.lang.Object
- - com.amazonaws.services.opsworks.model.Command

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

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

  Describes a command.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAcknowledgedAt()` Date and time when the command was acknowledged.
    `java.lang.String` | `getCommandId()` The command ID.
    `java.lang.String` | `getCompletedAt()` Date when the command completed.
    `java.lang.String` | `getCreatedAt()` Date and time when the command was run.
    `java.lang.String` | `getDeploymentId()` The command deployment ID.
    `java.lang.Integer` | `getExitCode()` The command exit code.
    `java.lang.String` | `getInstanceId()` The ID of the instance where the command was executed.
    `java.lang.String` | `getLogUrl()` The URL of the command log.
    `java.lang.String` | `getStatus()` The command status: failed successful skipped pending
    `java.lang.String` | `getType()` The command type: deploy rollback start stop restart undeploy update_dependencies install_dependencies update_custom_cookbooks execute_recipes
    `int` | `hashCode()`
    `void` | `setAcknowledgedAt(java.lang.String acknowledgedAt)` Date and time when the command was acknowledged.
    `void` | `setCommandId(java.lang.String commandId)` The command ID.
    `void` | `setCompletedAt(java.lang.String completedAt)` Date when the command completed.
    `void` | `setCreatedAt(java.lang.String createdAt)` Date and time when the command was run.
    `void` | `setDeploymentId(java.lang.String deploymentId)` The command deployment ID.
    `void` | `setExitCode(java.lang.Integer exitCode)` The command exit code.
    `void` | `setInstanceId(java.lang.String instanceId)` The ID of the instance where the command was executed.
    `void` | `setLogUrl(java.lang.String logUrl)` The URL of the command log.
    `void` | `setStatus(java.lang.String status)` The command status: failed successful skipped pending
    `void` | `setType(java.lang.String type)` The command type: deploy rollback start stop restart undeploy update_dependencies install_dependencies update_custom_cookbooks execute_recipes
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Command` | `withAcknowledgedAt(java.lang.String acknowledgedAt)` Date and time when the command was acknowledged.
    `Command` | `withCommandId(java.lang.String commandId)` The command ID.
    `Command` | `withCompletedAt(java.lang.String completedAt)` Date when the command completed.
    `Command` | `withCreatedAt(java.lang.String createdAt)` Date and time when the command was run.
    `Command` | `withDeploymentId(java.lang.String deploymentId)` The command deployment ID.
    `Command` | `withExitCode(java.lang.Integer exitCode)` The command exit code.
    `Command` | `withInstanceId(java.lang.String instanceId)` The ID of the instance where the command was executed.
    `Command` | `withLogUrl(java.lang.String logUrl)` The URL of the command log.
    `Command` | `withStatus(java.lang.String status)` The command status: failed successful skipped pending Returns a reference to this object so that method calls can be chained together.
    `Command` | `withType(java.lang.String type)` The command type: deploy rollback start stop restart undeploy update_dependencies install_dependencies update_custom_cookbooks execute_recipes Returns a reference to this object so that method calls can be chained together.

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

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

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

    - #### Command

          public Command()

  - ### メソッドの詳細

    - #### getCommandId

          public java.lang.String getCommandId()

      The command ID.
      戻り値:
        The command ID.

    - #### setCommandId

          public void setCommandId(java.lang.String commandId)

      The command ID.
      パラメータ:
        `commandId` - The command ID.

    - #### withCommandId

          public Command withCommandId(java.lang.String commandId)

      The command ID.

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

      パラメータ:
        `commandId` - The command ID.

    - #### getInstanceId

          public java.lang.String getInstanceId()

      The ID of the instance where the command was executed.
      戻り値:
        The ID of the instance where the command was executed.

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      The ID of the instance where the command was executed.
      パラメータ:
        `instanceId` - The ID of the instance where the command was executed.

    - #### withInstanceId

          public Command withInstanceId(java.lang.String instanceId)

      The ID of the instance where the command was executed.

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

      パラメータ:
        `instanceId` - The ID of the instance where the command was executed.

    - #### getDeploymentId

          public java.lang.String getDeploymentId()

      The command deployment ID.
      戻り値:
        The command deployment ID.

    - #### setDeploymentId

          public void setDeploymentId(java.lang.String deploymentId)

      The command deployment ID.
      パラメータ:
        `deploymentId` - The command deployment ID.

    - #### withDeploymentId

          public Command withDeploymentId(java.lang.String deploymentId)

      The command deployment ID.

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

      パラメータ:
        `deploymentId` - The command deployment ID.

    - #### getCreatedAt

          public java.lang.String getCreatedAt()

      Date and time when the command was run.
      戻り値:
        Date and time when the command was run.

    - #### setCreatedAt

          public void setCreatedAt(java.lang.String createdAt)

      Date and time when the command was run.
      パラメータ:
        `createdAt` - Date and time when the command was run.

    - #### withCreatedAt

          public Command withCreatedAt(java.lang.String createdAt)

      Date and time when the command was run.

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

      パラメータ:
        `createdAt` - Date and time when the command was run.

    - #### getAcknowledgedAt

          public java.lang.String getAcknowledgedAt()

      Date and time when the command was acknowledged.
      戻り値:
        Date and time when the command was acknowledged.

    - #### setAcknowledgedAt

          public void setAcknowledgedAt(java.lang.String acknowledgedAt)

      Date and time when the command was acknowledged.
      パラメータ:
        `acknowledgedAt` - Date and time when the command was acknowledged.

    - #### withAcknowledgedAt

          public Command withAcknowledgedAt(java.lang.String acknowledgedAt)

      Date and time when the command was acknowledged.

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

      パラメータ:
        `acknowledgedAt` - Date and time when the command was acknowledged.

    - #### getCompletedAt

          public java.lang.String getCompletedAt()

      Date when the command completed.
      戻り値:
        Date when the command completed.

    - #### setCompletedAt

          public void setCompletedAt(java.lang.String completedAt)

      Date when the command completed.
      パラメータ:
        `completedAt` - Date when the command completed.

    - #### withCompletedAt

          public Command withCompletedAt(java.lang.String completedAt)

      Date when the command completed.

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

      パラメータ:
        `completedAt` - Date when the command completed.

    - #### getStatus

          public java.lang.String getStatus()

      The command status:
      - failed
      - successful
      - skipped
      - pending
      戻り値:
        The command status:
        - failed
        - successful
        - skipped
        - pending

    - #### setStatus

          public void setStatus(java.lang.String status)

      The command status:
      - failed
      - successful
      - skipped
      - pending
      パラメータ:
        `status` - The command status:
        - failed
        - successful
        - skipped
        - pending

    - #### withStatus

          public Command withStatus(java.lang.String status)

      The command status:
      - failed
      - successful
      - skipped
      - pending

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

      パラメータ:
        `status` - The command status:
        - failed
        - successful
        - skipped
        - pending

    - #### getExitCode

          public java.lang.Integer getExitCode()

      The command exit code.
      戻り値:
        The command exit code.

    - #### setExitCode

          public void setExitCode(java.lang.Integer exitCode)

      The command exit code.
      パラメータ:
        `exitCode` - The command exit code.

    - #### withExitCode

          public Command withExitCode(java.lang.Integer exitCode)

      The command exit code.

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

      パラメータ:
        `exitCode` - The command exit code.

    - #### getLogUrl

          public java.lang.String getLogUrl()

      The URL of the command log.
      戻り値:
        The URL of the command log.

    - #### setLogUrl

          public void setLogUrl(java.lang.String logUrl)

      The URL of the command log.
      パラメータ:
        `logUrl` - The URL of the command log.

    - #### withLogUrl

          public Command withLogUrl(java.lang.String logUrl)

      The URL of the command log.

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

      パラメータ:
        `logUrl` - The URL of the command log.

    - #### getType

          public java.lang.String getType()

      The command type:
      - deploy
      - rollback
      - start
      - stop
      - restart
      - undeploy
      - update_dependencies
      - install_dependencies
      - update_custom_cookbooks
      - execute_recipes
      戻り値:
        The command type:
        - deploy
        - rollback
        - start
        - stop
        - restart
        - undeploy
        - update_dependencies
        - install_dependencies
        - update_custom_cookbooks
        - execute_recipes

    - #### setType

          public void setType(java.lang.String type)

      The command type:
      - deploy
      - rollback
      - start
      - stop
      - restart
      - undeploy
      - update_dependencies
      - install_dependencies
      - update_custom_cookbooks
      - execute_recipes
      パラメータ:
        `type` - The command type:
        - deploy
        - rollback
        - start
        - stop
        - restart
        - undeploy
        - update_dependencies
        - install_dependencies
        - update_custom_cookbooks
        - execute_recipes

    - #### withType

          public Command withType(java.lang.String type)

      The command type:
      - deploy
      - rollback
      - start
      - stop
      - restart
      - undeploy
      - update_dependencies
      - install_dependencies
      - update_custom_cookbooks
      - execute_recipes

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

      パラメータ:
        `type` - The command type:
        - deploy
        - rollback
        - start
        - stop
        - restart
        - undeploy
        - update_dependencies
        - install_dependencies
        - update_custom_cookbooks
        - execute_recipes

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