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

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

package io.fabric8.knative.duck.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PodSpecableBuilder extends PodSpecableFluent implements VisitableBuilder{
  public PodSpecableBuilder() {
    this(new PodSpecable());
  }
  
  public PodSpecableBuilder(PodSpecableFluent fluent) {
    this(fluent, new PodSpecable());
  }
  
  public PodSpecableBuilder(PodSpecableFluent fluent,PodSpecable instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public PodSpecableBuilder(PodSpecable instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  PodSpecableFluent fluent;
  
  public PodSpecable build() {
    PodSpecable buildable = new PodSpecable(fluent.buildMetadata(),fluent.getSpec());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy