public UpdateTrafficDistributionRequest withAgentConfig(AgentConfig agentConfig) {
        setAgentConfig(agentConfig);
        return this;
    }
<p>
The distribution of agents between the instance and its replica(s).
</p>

@param agentConfig
       The distribution of agents between the instance and its replica(s).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateTrafficDistributionRequest.java