public AgentVersion withAgentCount(Long agentCount) {
        setAgentCount(agentCount);
        return this;
    }
<p>
The number of Edge Manager agents.
</p>

@param agentCount
       The number of Edge Manager agents.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/AgentVersion.java