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

io.fabric8.knative.bindings.v1beta1.KafkaSASLSpecBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.knative.bindings.v1beta1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class KafkaSASLSpecBuilder extends KafkaSASLSpecFluent implements VisitableBuilder{
  public KafkaSASLSpecBuilder() {
    this(new KafkaSASLSpec());
  }
  
  public KafkaSASLSpecBuilder(KafkaSASLSpecFluent fluent) {
    this(fluent, new KafkaSASLSpec());
  }
  
  public KafkaSASLSpecBuilder(KafkaSASLSpecFluent fluent,KafkaSASLSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public KafkaSASLSpecBuilder(KafkaSASLSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  KafkaSASLSpecFluent fluent;
  
  public KafkaSASLSpec build() {
    KafkaSASLSpec buildable = new KafkaSASLSpec(fluent.getEnable(),fluent.buildPassword(),fluent.buildType(),fluent.buildUser());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy