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

io.fabric8.knative.internal.networking.v1alpha1.ClusterDomainClaimSpecFluent Maven / Gradle / Ivy

package io.fabric8.knative.internal.networking.v1alpha1;

import java.lang.SuppressWarnings;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;

 /**
  * Generated
  */
  @SuppressWarnings(value = "unchecked")
  public class ClusterDomainClaimSpecFluent> extends BaseFluent{
  public ClusterDomainClaimSpecFluent() {
  }
  public ClusterDomainClaimSpecFluent(ClusterDomainClaimSpec instance) {
    instance = (instance != null ? instance : new ClusterDomainClaimSpec());

    if (instance != null) {
      this.withNamespace(instance.getNamespace());
      this.withNamespace(instance.getNamespace());
    }
  }
  private String namespace;
  public String getNamespace() {
    return this.namespace;
  }
  public A withNamespace(String namespace) {
    this.namespace=namespace; return (A) this;
  }
  public boolean hasNamespace() {
    return this.namespace != null;
  }
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    if (!super.equals(o)) return false;
    ClusterDomainClaimSpecFluent that = (ClusterDomainClaimSpecFluent) o;
    if (!java.util.Objects.equals(namespace, that.namespace)) return false;

    return true;
  }
  public int hashCode() {
    return java.util.Objects.hash(namespace,  super.hashCode());
  }
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("{");
    if (namespace != null) { sb.append("namespace:"); sb.append(namespace); }
    sb.append("}");
    return sb.toString();
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy