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

io.fabric8.knative.duck.v1.ChannelableBuilder Maven / Gradle / Ivy

package io.fabric8.knative.duck.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ChannelableBuilder extends ChannelableFluent implements VisitableBuilder{
  public ChannelableBuilder() {
    this(new Channelable());
  }
  
  public ChannelableBuilder(ChannelableFluent fluent) {
    this(fluent, new Channelable());
  }
  
  public ChannelableBuilder(ChannelableFluent fluent,Channelable instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ChannelableBuilder(Channelable instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ChannelableFluent fluent;
  
  public Channelable build() {
    Channelable buildable = new Channelable(fluent.getApiVersion(),fluent.getKind(),fluent.buildMetadata(),fluent.buildSpec(),fluent.buildStatus());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy