code: public static SamlNameIdPolicy of(SamlNameIdFormat format, boolean isCreatable) {
          requireNonNull(format, "format");
          return new SamlNameIdPolicy(format, isCreatable);
      }
docs: Returns a {@link SamlNameIdPolicy} with the specified {@link SamlNameIdFormat} and
  {@code isCreatable}.