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

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

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

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class MetricValueStatusBuilder extends MetricValueStatusFluent implements VisitableBuilder{
  public MetricValueStatusBuilder() {
    this(new MetricValueStatus());
  }
  
  public MetricValueStatusBuilder(MetricValueStatusFluent fluent) {
    this(fluent, new MetricValueStatus());
  }
  
  public MetricValueStatusBuilder(MetricValueStatusFluent fluent,MetricValueStatus instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public MetricValueStatusBuilder(MetricValueStatus instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  MetricValueStatusFluent fluent;
  
  public MetricValueStatus build() {
    MetricValueStatus buildable = new MetricValueStatus(fluent.getAverageUtilization(),fluent.getAverageValue(),fluent.getValue());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy