public TargetAssignmentBuilder<T> withSubscriptionType(
        SubscriptionType subscriptionType
    ) {
        this.subscriptionType = subscriptionType;
        return this;
    }
Adds the subscription type in use.

@param subscriptionType  Subscription type of the group.
@return This object.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/TargetAssignmentBuilder.java