public TargetAssignmentBuilder<T> withSubscriptionMetadata(
        Map<String, TopicMetadata> subscriptionMetadata
    ) {
        this.subscriptionMetadata = subscriptionMetadata;
        return this;
    }
Adds the subscription metadata to use.

@param subscriptionMetadata  The subscription metadata.
@return This object.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/TargetAssignmentBuilder.java