public DescribeAgentResult withAgentArn(String agentArn) {
        setAgentArn(agentArn);
        return this;
    }
<p>
The ARN of the agent.
</p>

@param agentArn
       The ARN of the agent.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/DescribeAgentResult.java