code: protected ConfigureRequest buildConfigureRequest(MemberState member) {
      ServerMember leader = context.getLeader();
      return ConfigureRequest.builder()
        .withTerm(context.getTerm())
        .withLeader(leader != null ? leader.id() : 0)
        .withIndex(context.getClusterState().getConfiguration().index())
        .withTime(context.getClusterState().getConfiguration().time())
        .withMembers(context.getClusterState().getConfiguration().members())
        .build();
    }
docs: Builds a configure request for the given member.