io.dekorate.jaeger.config.JaegerAgentConfigBuilder Maven / Gradle / Ivy
package io.dekorate.jaeger.config;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
/**
* Generated
*/
public class JaegerAgentConfigBuilder extends JaegerAgentConfigFluentImpl implements VisitableBuilder{
public JaegerAgentConfigBuilder() {
this(false);
}
public JaegerAgentConfigBuilder(Boolean validationEnabled) {
this(new JaegerAgentConfig(), validationEnabled);
}
public JaegerAgentConfigBuilder(JaegerAgentConfigFluent> fluent) {
this(fluent, false);
}
public JaegerAgentConfigBuilder(JaegerAgentConfigFluent> fluent,Boolean validationEnabled) {
this(fluent, new JaegerAgentConfig(), validationEnabled);
}
public JaegerAgentConfigBuilder(JaegerAgentConfigFluent> fluent,JaegerAgentConfig instance) {
this(fluent, instance, false);
}
public JaegerAgentConfigBuilder(JaegerAgentConfigFluent> fluent,JaegerAgentConfig instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withProject(instance.getProject());
fluent.withAttributes(instance.getAttributes());
fluent.withOperatorEnabled(instance.getOperatorEnabled());
fluent.withVersion(instance.getVersion());
fluent.withCollector(instance.getCollector());
fluent.withPorts(instance.getPorts());
this.validationEnabled = validationEnabled;
}
public JaegerAgentConfigBuilder(JaegerAgentConfig instance) {
this(instance,false);
}
public JaegerAgentConfigBuilder(JaegerAgentConfig instance,Boolean validationEnabled) {
this.fluent = this;
this.withProject(instance.getProject());
this.withAttributes(instance.getAttributes());
this.withOperatorEnabled(instance.getOperatorEnabled());
this.withVersion(instance.getVersion());
this.withCollector(instance.getCollector());
this.withPorts(instance.getPorts());
this.validationEnabled = validationEnabled;
}
JaegerAgentConfigFluent> fluent;
Boolean validationEnabled;
public EditableJaegerAgentConfig build() {
EditableJaegerAgentConfig buildable = new EditableJaegerAgentConfig(fluent.getProject(),fluent.getAttributes(),fluent.getOperatorEnabled(),fluent.getVersion(),fluent.getCollector(),fluent.getPorts());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy