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

io.fabric8.knative.duck.v1beta1.ChannelableSpecBuilder Maven / Gradle / Ivy

package io.fabric8.knative.duck.v1beta1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ChannelableSpecBuilder extends ChannelableSpecFluent implements VisitableBuilder{
  public ChannelableSpecBuilder() {
    this(new ChannelableSpec());
  }
  
  public ChannelableSpecBuilder(ChannelableSpecFluent fluent) {
    this(fluent, new ChannelableSpec());
  }
  
  public ChannelableSpecBuilder(ChannelableSpecFluent fluent,ChannelableSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ChannelableSpecBuilder(ChannelableSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ChannelableSpecFluent fluent;
  
  public ChannelableSpec build() {
    ChannelableSpec buildable = new ChannelableSpec(fluent.buildDelivery(),fluent.buildSubscribers());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy