Interface CancelCommandRequest.Builder

    • Method Detail

      • commandId

        CancelCommandRequest.Builder commandId​(String commandId)

        The ID of the command you want to cancel.

        Parameters:
        commandId - The ID of the command you want to cancel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceIds

        CancelCommandRequest.Builder instanceIds​(Collection<String> instanceIds)

        (Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.

        Parameters:
        instanceIds - (Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceIds

        CancelCommandRequest.Builder instanceIds​(String... instanceIds)

        (Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.

        Parameters:
        instanceIds - (Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.