public void setCapacity(Capacity capacity) {
        this.capacity = capacity;
    }
<p>
Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.
</p>

@param capacity
       Information about the capacity allocated to the connector. Exactly one of the two properties must be
       specified.
aws-java-sdk-kafkaconnect/src/main/java/com/amazonaws/services/kafkaconnect/model/CreateConnectorRequest.java