Interface DeleteAgent.Builder

    • Method Detail

      • agentId

        DeleteAgent.Builder agentId​(String agentId)

        The ID of the agent or data collector to delete.

        Parameters:
        agentId - The ID of the agent or data collector to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • force

        DeleteAgent.Builder force​(Boolean force)

        Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.

        Parameters:
        force - Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.
        Returns:
        Returns a reference to this object so that method calls can be chained together.