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

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

package io.fabric8.knative.duck.v1;

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy