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

io.github.microcks.operator.api.base.v1alpha1.KafkaAuthenticationSpecBuilder Maven / Gradle / Ivy

There is a newer version: 0.0.2
Show newest version
package io.github.microcks.operator.api.base.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class KafkaAuthenticationSpecBuilder extends KafkaAuthenticationSpecFluent implements VisitableBuilder{
  public KafkaAuthenticationSpecBuilder() {
    this(new KafkaAuthenticationSpec());
  }
  
  public KafkaAuthenticationSpecBuilder(KafkaAuthenticationSpecFluent fluent) {
    this(fluent, new KafkaAuthenticationSpec());
  }
  
  public KafkaAuthenticationSpecBuilder(KafkaAuthenticationSpecFluent fluent,KafkaAuthenticationSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public KafkaAuthenticationSpecBuilder(KafkaAuthenticationSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  KafkaAuthenticationSpecFluent fluent;
  
  public KafkaAuthenticationSpec build() {
    KafkaAuthenticationSpec buildable = new KafkaAuthenticationSpec();
    buildable.setType(fluent.getType());
    buildable.setTruststoreType(fluent.getTruststoreType());
    buildable.setTruststoreSecretRef(fluent.buildTruststoreSecretRef());
    buildable.setKeystoreType(fluent.getKeystoreType());
    buildable.setKeystoreSecretRef(fluent.buildKeystoreSecretRef());
    buildable.setSaslMechanism(fluent.getSaslMechanism());
    buildable.setSaslJaasConfig(fluent.getSaslJaasConfig());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy