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

io.fabric8.knative.sources.v1.ContainerSourceListBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.knative.sources.v1;

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy