com.amazonaws.services.opsworks.model

## クラス Deployment

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

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

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

  Describes a deployment of a stack or app.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAppId()` The app ID.
    `DeploymentCommand` | `getCommand()` Used to specify a deployment operation.
    `java.lang.String` | `getComment()` A user-defined comment.
    `java.lang.String` | `getCompletedAt()` Date when the deployment completed.
    `java.lang.String` | `getCreatedAt()` Date when the deployment was created.
    `java.lang.String` | `getCustomJson()` A string that contains user-defined custom JSON.
    `java.lang.String` | `getDeploymentId()` The deployment ID.
    `java.lang.Integer` | `getDuration()` The deployment duration.
    `java.lang.String` | `getIamUserArn()` The user's IAM ARN.
    `java.util.List<java.lang.String>` | `getInstanceIds()` The IDs of the target instances.
    `java.lang.String` | `getStackId()` The stack ID.
    `java.lang.String` | `getStatus()` The deployment status: running successful failed
    `int` | `hashCode()`
    `void` | `setAppId(java.lang.String appId)` The app ID.
    `void` | `setCommand(DeploymentCommand command)` Used to specify a deployment operation.
    `void` | `setComment(java.lang.String comment)` A user-defined comment.
    `void` | `setCompletedAt(java.lang.String completedAt)` Date when the deployment completed.
    `void` | `setCreatedAt(java.lang.String createdAt)` Date when the deployment was created.
    `void` | `setCustomJson(java.lang.String customJson)` A string that contains user-defined custom JSON.
    `void` | `setDeploymentId(java.lang.String deploymentId)` The deployment ID.
    `void` | `setDuration(java.lang.Integer duration)` The deployment duration.
    `void` | `setIamUserArn(java.lang.String iamUserArn)` The user's IAM ARN.
    `void` | `setInstanceIds(java.util.Collection<java.lang.String> instanceIds)` The IDs of the target instances.
    `void` | `setStackId(java.lang.String stackId)` The stack ID.
    `void` | `setStatus(java.lang.String status)` The deployment status: running successful failed
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Deployment` | `withAppId(java.lang.String appId)` The app ID.
    `Deployment` | `withCommand(DeploymentCommand command)` Used to specify a deployment operation.
    `Deployment` | `withComment(java.lang.String comment)` A user-defined comment.
    `Deployment` | `withCompletedAt(java.lang.String completedAt)` Date when the deployment completed.
    `Deployment` | `withCreatedAt(java.lang.String createdAt)` Date when the deployment was created.
    `Deployment` | `withCustomJson(java.lang.String customJson)` A string that contains user-defined custom JSON.
    `Deployment` | `withDeploymentId(java.lang.String deploymentId)` The deployment ID.
    `Deployment` | `withDuration(java.lang.Integer duration)` The deployment duration.
    `Deployment` | `withIamUserArn(java.lang.String iamUserArn)` The user's IAM ARN.
    `Deployment` | `withInstanceIds(java.util.Collection<java.lang.String> instanceIds)` The IDs of the target instances.
    `Deployment` | `withInstanceIds(java.lang.String... instanceIds)` The IDs of the target instances.
    `Deployment` | `withStackId(java.lang.String stackId)` The stack ID.
    `Deployment` | `withStatus(java.lang.String status)` The deployment status: running successful failed 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`

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

    - #### Deployment

          public Deployment()

  - ### メソッドの詳細

    - #### getDeploymentId

          public java.lang.String getDeploymentId()

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

    - #### setDeploymentId

          public void setDeploymentId(java.lang.String deploymentId)

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

    - #### withDeploymentId

          public Deployment withDeploymentId(java.lang.String deploymentId)

      The deployment ID.

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

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

    - #### getStackId

          public java.lang.String getStackId()

      The stack ID.
      戻り値:
        The stack ID.

    - #### setStackId

          public void setStackId(java.lang.String stackId)

      The stack ID.
      パラメータ:
        `stackId` - The stack ID.

    - #### withStackId

          public Deployment withStackId(java.lang.String stackId)

      The stack ID.

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

      パラメータ:
        `stackId` - The stack ID.

    - #### getAppId

          public java.lang.String getAppId()

      The app ID.
      戻り値:
        The app ID.

    - #### setAppId

          public void setAppId(java.lang.String appId)

      The app ID.
      パラメータ:
        `appId` - The app ID.

    - #### withAppId

          public Deployment withAppId(java.lang.String appId)

      The app ID.

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

      パラメータ:
        `appId` - The app ID.

    - #### getCreatedAt

          public java.lang.String getCreatedAt()

      Date when the deployment was created.
      戻り値:
        Date when the deployment was created.

    - #### setCreatedAt

          public void setCreatedAt(java.lang.String createdAt)

      Date when the deployment was created.
      パラメータ:
        `createdAt` - Date when the deployment was created.

    - #### withCreatedAt

          public Deployment withCreatedAt(java.lang.String createdAt)

      Date when the deployment was created.

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

      パラメータ:
        `createdAt` - Date when the deployment was created.

    - #### getCompletedAt

          public java.lang.String getCompletedAt()

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

    - #### setCompletedAt

          public void setCompletedAt(java.lang.String completedAt)

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

    - #### withCompletedAt

          public Deployment withCompletedAt(java.lang.String completedAt)

      Date when the deployment completed.

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

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

    - #### getDuration

          public java.lang.Integer getDuration()

      The deployment duration.
      戻り値:
        The deployment duration.

    - #### setDuration

          public void setDuration(java.lang.Integer duration)

      The deployment duration.
      パラメータ:
        `duration` - The deployment duration.

    - #### withDuration

          public Deployment withDuration(java.lang.Integer duration)

      The deployment duration.

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

      パラメータ:
        `duration` - The deployment duration.

    - #### getIamUserArn

          public java.lang.String getIamUserArn()

      The user's IAM ARN.
      戻り値:
        The user's IAM ARN.

    - #### setIamUserArn

          public void setIamUserArn(java.lang.String iamUserArn)

      The user's IAM ARN.
      パラメータ:
        `iamUserArn` - The user's IAM ARN.

    - #### withIamUserArn

          public Deployment withIamUserArn(java.lang.String iamUserArn)

      The user's IAM ARN.

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

      パラメータ:
        `iamUserArn` - The user's IAM ARN.

    - #### getComment

          public java.lang.String getComment()

      A user-defined comment.
      戻り値:
        A user-defined comment.

    - #### setComment

          public void setComment(java.lang.String comment)

      A user-defined comment.
      パラメータ:
        `comment` - A user-defined comment.

    - #### withComment

          public Deployment withComment(java.lang.String comment)

      A user-defined comment.

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

      パラメータ:
        `comment` - A user-defined comment.

    - #### getCommand

          public DeploymentCommand getCommand()

      Used to specify a deployment operation.
      戻り値:
        Used to specify a deployment operation.

    - #### setCommand

          public void setCommand(DeploymentCommand command)

      Used to specify a deployment operation.
      パラメータ:
        `command` - Used to specify a deployment operation.

    - #### withCommand

          public Deployment withCommand(DeploymentCommand command)

      Used to specify a deployment operation.

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

      パラメータ:
        `command` - Used to specify a deployment operation.

    - #### getStatus

          public java.lang.String getStatus()

      The deployment status:
      - running
      - successful
      - failed
      戻り値:
        The deployment status:
        - running
        - successful
        - failed

    - #### setStatus

          public void setStatus(java.lang.String status)

      The deployment status:
      - running
      - successful
      - failed
      パラメータ:
        `status` - The deployment status:
        - running
        - successful
        - failed

    - #### withStatus

          public Deployment withStatus(java.lang.String status)

      The deployment status:
      - running
      - successful
      - failed

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

      パラメータ:
        `status` - The deployment status:
        - running
        - successful
        - failed

    - #### getCustomJson

          public java.lang.String getCustomJson()

      A string that contains user-defined custom JSON. It is used to override the corresponding default stack configuration JSON values for stack. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

      For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

      戻り値:
        A string that contains user-defined custom JSON. It is used to override the corresponding default stack configuration JSON values for stack. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

    - #### setCustomJson

          public void setCustomJson(java.lang.String customJson)

      A string that contains user-defined custom JSON. It is used to override the corresponding default stack configuration JSON values for stack. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

      For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

      パラメータ:
        `customJson` - A string that contains user-defined custom JSON. It is used to override the corresponding default stack configuration JSON values for stack. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

    - #### withCustomJson

          public Deployment withCustomJson(java.lang.String customJson)

      A string that contains user-defined custom JSON. It is used to override the corresponding default stack configuration JSON values for stack. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

      For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

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

      パラメータ:
        `customJson` - A string that contains user-defined custom JSON. It is used to override the corresponding default stack configuration JSON values for stack. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

    - #### getInstanceIds

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

      The IDs of the target instances.
      戻り値:
        The IDs of the target instances.

    - #### setInstanceIds

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

      The IDs of the target instances.
      パラメータ:
        `instanceIds` - The IDs of the target instances.

    - #### withInstanceIds

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

      The IDs of the target instances.

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

      パラメータ:
        `instanceIds` - The IDs of the target instances.

    - #### withInstanceIds

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

      The IDs of the target instances.

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

      パラメータ:
        `instanceIds` - The IDs of the target instances.

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