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

io.strimzi.api.kafka.model.jmxtrans.JmxTransQueryTemplateBuilder Maven / Gradle / Ivy

There is a newer version: 0.44.0
Show newest version
package io.strimzi.api.kafka.model.jmxtrans;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class JmxTransQueryTemplateBuilder extends JmxTransQueryTemplateFluent implements VisitableBuilder{
  public JmxTransQueryTemplateBuilder() {
    this(new JmxTransQueryTemplate());
  }
  
  public JmxTransQueryTemplateBuilder(JmxTransQueryTemplateFluent fluent) {
    this(fluent, new JmxTransQueryTemplate());
  }
  
  public JmxTransQueryTemplateBuilder(JmxTransQueryTemplateFluent fluent,JmxTransQueryTemplate instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public JmxTransQueryTemplateBuilder(JmxTransQueryTemplate instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  JmxTransQueryTemplateFluent fluent;
  
  public JmxTransQueryTemplate build() {
    JmxTransQueryTemplate buildable = new JmxTransQueryTemplate();
    buildable.setTargetMBean(fluent.getTargetMBean());
    buildable.setAttributes(fluent.getAttributes());
    buildable.setOutputs(fluent.getOutputs());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy