Interface Command.Builder

    • Method Detail

      • commandId

        Command.Builder commandId​(String commandId)

        The command ID.

        Parameters:
        commandId - The command ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        Command.Builder instanceId​(String instanceId)

        The ID of the instance where the command was executed.

        Parameters:
        instanceId - The ID of the instance where the command was executed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentId

        Command.Builder deploymentId​(String deploymentId)

        The command deployment ID.

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

        Command.Builder createdAt​(String createdAt)

        Date and time when the command was run.

        Parameters:
        createdAt - Date and time when the command was run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • acknowledgedAt

        Command.Builder acknowledgedAt​(String acknowledgedAt)

        Date and time when the command was acknowledged.

        Parameters:
        acknowledgedAt - Date and time when the command was acknowledged.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • completedAt

        Command.Builder completedAt​(String completedAt)

        Date when the command completed.

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

        Command.Builder status​(String status)

        The command status:

        • failed

        • successful

        • skipped

        • pending

        Parameters:
        status - The command status:

        • failed

        • successful

        • skipped

        • pending

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

        Command.Builder exitCode​(Integer exitCode)

        The command exit code.

        Parameters:
        exitCode - The command exit code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logUrl

        Command.Builder logUrl​(String logUrl)

        The URL of the command log.

        Parameters:
        logUrl - The URL of the command log.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Command.Builder type​(String type)

        The command type:

        • configure

        • deploy

        • execute_recipes

        • install_dependencies

        • restart

        • rollback

        • setup

        • start

        • stop

        • undeploy

        • update_custom_cookbooks

        • update_dependencies

        Parameters:
        type - The command type:

        • configure

        • deploy

        • execute_recipes

        • install_dependencies

        • restart

        • rollback

        • setup

        • start

        • stop

        • undeploy

        • update_custom_cookbooks

        • update_dependencies

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