public ProvisionedCapacityUpdate withWorkerCount(Integer workerCount) {
        setWorkerCount(workerCount);
        return this;
    }
<p>
The number of workers that are allocated to the connector.
</p>

@param workerCount
       The number of workers that are 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/ProvisionedCapacityUpdate.java