code: @SuppressWarnings("deprecation")
      @Nullable
      public String getName() {
          List<ServerDescription> any = getClusterDescription().getAnyPrimaryOrSecondary();
          return any.isEmpty() ? null : any.get(0).getSetName();
      }
docs: Get the name of the replica set.
  
  @return the name of the replica set.