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

com.spotify.docker.client.messages.mount.AutoValue_BindOptions Maven / Gradle / Ivy

There is a newer version: 8.16.0
Show newest version

package com.spotify.docker.client.messages.mount;

import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_BindOptions extends BindOptions {

  private final String propagation;

  private AutoValue_BindOptions(
      String propagation) {
    this.propagation = propagation;
  }

  @JsonProperty(value = "Propagation")
  @Override
  public String propagation() {
    return propagation;
  }

  @Override
  public String toString() {
    return "BindOptions{"
        + "propagation=" + propagation
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof BindOptions) {
      BindOptions that = (BindOptions) o;
      return (this.propagation.equals(that.propagation()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= this.propagation.hashCode();
    return h;
  }

  static final class Builder extends BindOptions.Builder {
    private String propagation;
    Builder() {
    }
    Builder(BindOptions source) {
      this.propagation = source.propagation();
    }
    @Override
    public BindOptions.Builder propagation(String propagation) {
      this.propagation = propagation;
      return this;
    }
    @Override
    public BindOptions build() {
      String missing = "";
      if (propagation == null) {
        missing += " propagation";
      }
      if (!missing.isEmpty()) {
        throw new IllegalStateException("Missing required properties:" + missing);
      }
      return new AutoValue_BindOptions(
          this.propagation);
    }
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy