io.dekorate.jaeger.config.JaegerAgentConfig Maven / Gradle / Ivy
package io.dekorate.jaeger.config;
import io.dekorate.project.Project;
import io.dekorate.kubernetes.config.ConfigKey;
import io.dekorate.kubernetes.config.Configuration;
import io.dekorate.kubernetes.config.Port;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import io.sundr.builder.annotations.Buildable;
@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder") public class JaegerAgentConfig extends Configuration {
private boolean operatorEnabled = false;
private String version = "1.10";
private io.dekorate.jaeger.config.Collector collector = null;
private io.dekorate.kubernetes.config.Port[] ports = new io.dekorate.kubernetes.config.Port[0];
public JaegerAgentConfig() {
}
public JaegerAgentConfig(Project project,Map attributes,boolean operatorEnabled,String version,io.dekorate.jaeger.config.Collector collector,io.dekorate.kubernetes.config.Port[] ports) {
super(project, attributes);
this.operatorEnabled = operatorEnabled;
this.version = version != null ? version : "1.10";
this.collector = collector != null ? collector : null;
this.ports = ports != null ? ports : new io.dekorate.kubernetes.config.Port[0];
}
public boolean isOperatorEnabled() {
return this.operatorEnabled;
}
public String getVersion() {
return this.version;
}
public io.dekorate.jaeger.config.Collector getCollector() {
return this.collector;
}
public io.dekorate.kubernetes.config.Port[] getPorts() {
return this.ports;
}
public static JaegerAgentConfigBuilder newJaegerAgentConfigBuilder() {
return new io.dekorate.jaeger.config.JaegerAgentConfigBuilder();
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
JaegerAgentConfig that = (JaegerAgentConfig) o;
if (operatorEnabled != that.operatorEnabled) return false;
if (version != null ? !version.equals(that.version) :that.version != null) return false;
if (collector != null ? !collector.equals(that.collector) :that.collector != null) return false;
if (ports != null ? !ports.equals(that.ports) :that.ports != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(operatorEnabled, version, collector, ports, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy