public void setConsumerGroupsToReplicate(java.util.Collection<String> consumerGroupsToReplicate) {
        if (consumerGroupsToReplicate == null) {
            this.consumerGroupsToReplicate = null;
            return;
        }

        this.consumerGroupsToReplicate = new java.util.ArrayList<String>(consumerGroupsToReplicate);
    }
<p>
List of regular expression patterns indicating the consumer groups to copy.
</p>

@param consumerGroupsToReplicate
       List of regular expression patterns indicating the consumer groups to copy.
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ConsumerGroupReplicationUpdate.java