io.dekorate.servicebinding.config.BindingPathConfigFluentImpl Maven / Gradle / Ivy
package io.dekorate.servicebinding.config;
import io.dekorate.kubernetes.config.ConfigurationFluentImpl;
import java.lang.SuppressWarnings;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
/**
* Generated
*/
@SuppressWarnings(value = "unchecked")
public class BindingPathConfigFluentImpl> extends ConfigurationFluentImpl implements BindingPathConfigFluent{
public BindingPathConfigFluentImpl() {
}
public BindingPathConfigFluentImpl(BindingPathConfig instance) {
this.withProject(instance.getProject());
this.withAttributes(instance.getAttributes());
this.withContainerPath(instance.getContainerPath());
this.withSecretPath(instance.getSecretPath());
}
private String containerPath;
private String secretPath;
public String getContainerPath() {
return this.containerPath;
}
public A withContainerPath(String containerPath) {
this.containerPath=containerPath; return (A) this;
}
public Boolean hasContainerPath() {
return this.containerPath != null;
}
public String getSecretPath() {
return this.secretPath;
}
public A withSecretPath(String secretPath) {
this.secretPath=secretPath; return (A) this;
}
public Boolean hasSecretPath() {
return this.secretPath != 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;
BindingPathConfigFluentImpl that = (BindingPathConfigFluentImpl) o;
if (containerPath != null ? !containerPath.equals(that.containerPath) :that.containerPath != null) return false;
if (secretPath != null ? !secretPath.equals(that.secretPath) :that.secretPath != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(containerPath, secretPath, super.hashCode());
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (containerPath != null) { sb.append("containerPath:"); sb.append(containerPath + ","); }
if (secretPath != null) { sb.append("secretPath:"); sb.append(secretPath); }
sb.append("}");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy