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

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

package io.fabric8.knative.duck.v1beta1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ChannelableListBuilder extends ChannelableListFluent implements VisitableBuilder{
  public ChannelableListBuilder() {
    this(new ChannelableList());
  }
  
  public ChannelableListBuilder(ChannelableListFluent fluent) {
    this(fluent, new ChannelableList());
  }
  
  public ChannelableListBuilder(ChannelableListFluent fluent,ChannelableList instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ChannelableListBuilder(ChannelableList instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ChannelableListFluent fluent;
  
  public ChannelableList build() {
    ChannelableList buildable = new ChannelableList(fluent.getApiVersion(),fluent.buildItems(),fluent.getKind(),fluent.getMetadata());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy