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

io.fabric8.kubernetes.api.model.autoscaling.v2beta2.HorizontalPodAutoscalerBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.kubernetes.api.model.autoscaling.v2beta2;

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy