public AutoScalingUpdate withMaxWorkerCount(Integer maxWorkerCount) {
        setMaxWorkerCount(maxWorkerCount);
        return this;
    }
<p>
The target maximum number of workers allocated to the connector.
</p>

@param maxWorkerCount
       The target maximum number of workers allocated to the connector.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kafkaconnect/src/main/java/com/amazonaws/services/kafkaconnect/model/AutoScalingUpdate.java