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

io.github.microcks.operator.api.base.v1alpha1.AsyncFeatureSpecBuilder 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 AsyncFeatureSpecBuilder extends AsyncFeatureSpecFluent implements VisitableBuilder{
  public AsyncFeatureSpecBuilder() {
    this(new AsyncFeatureSpec());
  }
  
  public AsyncFeatureSpecBuilder(AsyncFeatureSpecFluent fluent) {
    this(fluent, new AsyncFeatureSpec());
  }
  
  public AsyncFeatureSpecBuilder(AsyncFeatureSpecFluent fluent,AsyncFeatureSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public AsyncFeatureSpecBuilder(AsyncFeatureSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  AsyncFeatureSpecFluent fluent;
  
  public AsyncFeatureSpec build() {
    AsyncFeatureSpec buildable = new AsyncFeatureSpec();
    buildable.setEnabled(fluent.isEnabled());
    buildable.setImage(fluent.buildImage());
    buildable.setEnv(fluent.getEnv());
    buildable.setDefaultBinding(fluent.getDefaultBinding());
    buildable.setDefaultFrequency(fluent.getDefaultFrequency());
    buildable.setDefaultAvroEncoding(fluent.getDefaultAvroEncoding());
    buildable.setKafka(fluent.buildKafka());
    buildable.setAmqp(fluent.buildAmqp());
    buildable.setMqtt(fluent.buildMqtt());
    buildable.setNats(fluent.buildNats());
    buildable.setGooglepubsub(fluent.buildGooglepubsub());
    buildable.setSqs(fluent.buildSqs());
    buildable.setSns(fluent.buildSns());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy