code: @Deprecated
      @SuppressWarnings("deprecation")
      @Nullable
      public ServerAddress getAddress() {
          ClusterDescription description = getClusterDescription();
          if (description.getPrimaries().isEmpty()) {
              return null;
          }
          return description.getPrimaries().get(0).getAddress();
      }
docs: Gets the address of the current master
  
  @return the address