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

io.fabric8.autoscaling.api.model.v1.VerticalPodAutoscalerSpecBuilder Maven / Gradle / Ivy

package io.fabric8.autoscaling.api.model.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class VerticalPodAutoscalerSpecBuilder extends VerticalPodAutoscalerSpecFluent implements VisitableBuilder{
  public VerticalPodAutoscalerSpecBuilder() {
    this(new VerticalPodAutoscalerSpec());
  }
  
  public VerticalPodAutoscalerSpecBuilder(VerticalPodAutoscalerSpecFluent fluent) {
    this(fluent, new VerticalPodAutoscalerSpec());
  }
  
  public VerticalPodAutoscalerSpecBuilder(VerticalPodAutoscalerSpecFluent fluent,VerticalPodAutoscalerSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public VerticalPodAutoscalerSpecBuilder(VerticalPodAutoscalerSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  VerticalPodAutoscalerSpecFluent fluent;
  
  public VerticalPodAutoscalerSpec build() {
    VerticalPodAutoscalerSpec buildable = new VerticalPodAutoscalerSpec(fluent.buildRecommenders(),fluent.buildResourcePolicy(),fluent.getTargetRef(),fluent.buildUpdatePolicy());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy