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

io.dekorate.jaeger.config.CollectorBuilder Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
package io.dekorate.jaeger.config;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;

 /**
  * Generated
  */
public class CollectorBuilder extends CollectorFluentImpl implements VisitableBuilder{
  public CollectorBuilder() {
    this(false);
  }
  public CollectorBuilder(Boolean validationEnabled) {
    this(new Collector(), validationEnabled);
  }
  public CollectorBuilder(CollectorFluent fluent) {
    this(fluent, false);
  }
  public CollectorBuilder(CollectorFluent fluent,Boolean validationEnabled) {
    this(fluent, new Collector(), validationEnabled);
  }
  public CollectorBuilder(CollectorFluent fluent,Collector instance) {
    this(fluent, instance, false);
  }
  public CollectorBuilder(CollectorFluent fluent,Collector instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withHost(instance.getHost()); 
    fluent.withName(instance.getName()); 
    fluent.withNamespace(instance.getNamespace()); 
    fluent.withPort(instance.getPort()); 
    this.validationEnabled = validationEnabled; 
  }
  public CollectorBuilder(Collector instance) {
    this(instance,false);
  }
  public CollectorBuilder(Collector instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withHost(instance.getHost()); 
    this.withName(instance.getName()); 
    this.withNamespace(instance.getNamespace()); 
    this.withPort(instance.getPort()); 
    this.validationEnabled = validationEnabled; 
  }
  CollectorFluent fluent;
  Boolean validationEnabled;
  public EditableCollector build() {
    EditableCollector buildable = new EditableCollector(fluent.getHost(),fluent.getName(),fluent.getNamespace(),fluent.getPort());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy