public void setSubscribedTopics(Optional<Set<String>> subscribedTopics) {
        this.subscribedTopics = subscribedTopics;
    }
Sets subscribedTopics.

@param subscribedTopics the value to set.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/classic/ClassicGroup.java