Interface Deployment.Builder

  • Method Details

    • deploymentId

      Deployment.Builder deploymentId(String deploymentId)

      The deployment ID.

      Parameters:
      deploymentId - The deployment ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stackId

      Deployment.Builder stackId(String stackId)

      The stack ID.

      Parameters:
      stackId - The stack ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appId

      Deployment.Builder appId(String appId)

      The app ID.

      Parameters:
      appId - The app ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Deployment.Builder createdAt(String createdAt)

      Date when the deployment was created.

      Parameters:
      createdAt - Date when the deployment was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedAt

      Deployment.Builder completedAt(String completedAt)

      Date when the deployment completed.

      Parameters:
      completedAt - Date when the deployment completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      Deployment.Builder duration(Integer duration)

      The deployment duration.

      Parameters:
      duration - The deployment duration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamUserArn

      Deployment.Builder iamUserArn(String iamUserArn)

      The user's IAM ARN.

      Parameters:
      iamUserArn - The user's IAM ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • comment

      Deployment.Builder comment(String comment)

      A user-defined comment.

      Parameters:
      comment - A user-defined comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • command

      Used to specify a stack or deployment command.

      Parameters:
      command - Used to specify a stack or deployment command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • command

      Used to specify a stack or deployment command.

      This is a convenience method that creates an instance of the DeploymentCommand.Builder avoiding the need to create one manually via DeploymentCommand.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to command(DeploymentCommand).

      Parameters:
      command - a consumer that will call methods on DeploymentCommand.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Deployment.Builder status(String status)

      The deployment status:

      • running

      • successful

      • failed

      Parameters:
      status - The deployment status:

      • running

      • successful

      • failed

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

      Deployment.Builder customJson(String customJson)

      A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format:

      "{\"key1\": \"value1\", \"key2\": \"value2\",...}"

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

      Parameters:
      customJson - A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format:

      "{\"key1\": \"value1\", \"key2\": \"value2\",...}"

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

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

      Deployment.Builder instanceIds(Collection<String> instanceIds)

      The IDs of the target instances.

      Parameters:
      instanceIds - The IDs of the target instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceIds

      Deployment.Builder instanceIds(String... instanceIds)

      The IDs of the target instances.

      Parameters:
      instanceIds - The IDs of the target instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.