All Downloads are FREE. Search and download functionalities are using the official Maven repository.

technology.semi.weaviate.client.v1.classifications.model.ParamsKNN Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
// Generated by delombok at Mon Nov 21 14:07:44 UTC 2022
package technology.semi.weaviate.client.v1.classifications.model;

public class ParamsKNN {
  private Integer k;

  @java.lang.SuppressWarnings("all")
  ParamsKNN(final Integer k) {
    this.k = k;
  }


  @java.lang.SuppressWarnings("all")
  public static class ParamsKNNBuilder {
    @java.lang.SuppressWarnings("all")
    private Integer k;

    @java.lang.SuppressWarnings("all")
    ParamsKNNBuilder() {
    }

    @java.lang.SuppressWarnings("all")
    public ParamsKNN.ParamsKNNBuilder k(final Integer k) {
      this.k = k;
      return this;
    }

    @java.lang.SuppressWarnings("all")
    public ParamsKNN build() {
      return new ParamsKNN(this.k);
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
      return "ParamsKNN.ParamsKNNBuilder(k=" + this.k + ")";
    }
  }

  @java.lang.SuppressWarnings("all")
  public static ParamsKNN.ParamsKNNBuilder builder() {
    return new ParamsKNN.ParamsKNNBuilder();
  }

  @java.lang.SuppressWarnings("all")
  public Integer getK() {
    return this.k;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public java.lang.String toString() {
    return "ParamsKNN(k=" + this.getK() + ")";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy