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

io.fabric8.knative.internal.autoscaling.v1alpha1.PodScalableBuilder Maven / Gradle / Ivy

package io.fabric8.knative.internal.autoscaling.v1alpha1;

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy