public ConsumerGroupReplication withDetectAndCopyNewConsumerGroups(Boolean detectAndCopyNewConsumerGroups) {
        setDetectAndCopyNewConsumerGroups(detectAndCopyNewConsumerGroups);
        return this;
    }
<p>
Enables synchronization of consumer groups to target cluster.
</p>

@param detectAndCopyNewConsumerGroups
       Enables synchronization of consumer groups to target cluster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ConsumerGroupReplication.java