public void setCapacity(CapacityUpdate capacity) {
        this.capacity = capacity;
    }
<p>
The target capacity.
</p>

@param capacity
       The target capacity.
aws-java-sdk-kafkaconnect/src/main/java/com/amazonaws/services/kafkaconnect/model/UpdateConnectorRequest.java