io.fabric8.knative.serving.v1beta1.SecretTLSFluentImpl Maven / Gradle / Ivy
package io.fabric8.knative.serving.v1beta1;
import java.lang.SuppressWarnings;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
/**
* Generated
*/
@SuppressWarnings(value = "unchecked")
public class SecretTLSFluentImpl> extends BaseFluent implements SecretTLSFluent{
public SecretTLSFluentImpl() {
}
public SecretTLSFluentImpl(SecretTLS instance) {
this.withSecretName(instance.getSecretName());
}
private String secretName;
public String getSecretName() {
return this.secretName;
}
public A withSecretName(String secretName) {
this.secretName=secretName; return (A) this;
}
public Boolean hasSecretName() {
return this.secretName != null;
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SecretTLSFluentImpl that = (SecretTLSFluentImpl) o;
if (secretName != null ? !secretName.equals(that.secretName) :that.secretName != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(secretName, super.hashCode());
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (secretName != null) { sb.append("secretName:"); sb.append(secretName); }
sb.append("}");
return sb.toString();
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy