public DeleteAgent withAgentId(String agentId) {
        setAgentId(agentId);
        return this;
    }
<p>
The ID of the agent or data collector to delete.
</p>

@param agentId
       The ID of the agent or data collector to delete.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/model/DeleteAgent.java