public ShareGroupMember build() {
            return new ShareGroupMember(
                memberId,
                memberEpoch,
                previousMemberEpoch,
                rackId,
                clientId,
                clientHost,
                subscribedTopicNames,
                state,
                assignedPartitions
            );
        }
A builder that facilitates the creation of a new member or the update of
an existing one.
<p>
Please refer to the javadoc of {{@link ShareGroupMember}} for the
definition of the fields.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/share/ShareGroupMember.java