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

technology.semi.weaviate.client.v1.schema.model.ShardStatus Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
// Generated by delombok at Tue Dec 20 18:59:22 UTC 2022
package technology.semi.weaviate.client.v1.schema.model;

public class ShardStatus {
  private final String status;

  @java.lang.SuppressWarnings("all")
  ShardStatus(final String status) {
    this.status = status;
  }


  @java.lang.SuppressWarnings("all")
  public static class ShardStatusBuilder {
    @java.lang.SuppressWarnings("all")
    private String status;

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

    /**
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public ShardStatus.ShardStatusBuilder status(final String status) {
      this.status = status;
      return this;
    }

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
      return "ShardStatus.ShardStatusBuilder(status=" + this.status + ")";
    }
  }

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

  @java.lang.SuppressWarnings("all")
  public String getStatus() {
    return this.status;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public java.lang.String toString() {
    return "ShardStatus(status=" + this.getStatus() + ")";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy