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

io.kubernetes.client.openapi.models.V1alpha1ClusterTrustBundleSpecFluent Maven / Gradle / Ivy

package io.kubernetes.client.openapi.models;

import java.lang.SuppressWarnings;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;

/**
 * Generated
 */
@SuppressWarnings("unchecked")
public class V1alpha1ClusterTrustBundleSpecFluent> extends BaseFluent{
  public V1alpha1ClusterTrustBundleSpecFluent() {
  }
  
  public V1alpha1ClusterTrustBundleSpecFluent(V1alpha1ClusterTrustBundleSpec instance) {
    this.copyInstance(instance);
  }
  private String signerName;
  private String trustBundle;
  
  protected void copyInstance(V1alpha1ClusterTrustBundleSpec instance) {
    instance = (instance != null ? instance : new V1alpha1ClusterTrustBundleSpec());
    if (instance != null) {
          this.withSignerName(instance.getSignerName());
          this.withTrustBundle(instance.getTrustBundle());
        }
  }
  
  public String getSignerName() {
    return this.signerName;
  }
  
  public A withSignerName(String signerName) {
    this.signerName = signerName;
    return (A) this;
  }
  
  public boolean hasSignerName() {
    return this.signerName != null;
  }
  
  public String getTrustBundle() {
    return this.trustBundle;
  }
  
  public A withTrustBundle(String trustBundle) {
    this.trustBundle = trustBundle;
    return (A) this;
  }
  
  public boolean hasTrustBundle() {
    return this.trustBundle != 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;
    V1alpha1ClusterTrustBundleSpecFluent that = (V1alpha1ClusterTrustBundleSpecFluent) o;
    if (!java.util.Objects.equals(signerName, that.signerName)) return false;
    if (!java.util.Objects.equals(trustBundle, that.trustBundle)) return false;
    return true;
  }
  
  public int hashCode() {
    return java.util.Objects.hash(signerName,  trustBundle,  super.hashCode());
  }
  
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("{");
    if (signerName != null) { sb.append("signerName:"); sb.append(signerName + ","); }
    if (trustBundle != null) { sb.append("trustBundle:"); sb.append(trustBundle); }
    sb.append("}");
    return sb.toString();
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy