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

io.kubernetes.client.openapi.models.V2MetricStatusBuilder Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V2MetricStatusBuilder extends V2MetricStatusFluent implements VisitableBuilder{
  public V2MetricStatusBuilder() {
    this(new V2MetricStatus());
  }
  
  public V2MetricStatusBuilder(V2MetricStatusFluent fluent) {
    this(fluent, new V2MetricStatus());
  }
  
  public V2MetricStatusBuilder(V2MetricStatusFluent fluent,V2MetricStatus instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V2MetricStatusBuilder(V2MetricStatus instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V2MetricStatusFluent fluent;
  
  public V2MetricStatus build() {
    V2MetricStatus buildable = new V2MetricStatus();
    buildable.setContainerResource(fluent.buildContainerResource());
    buildable.setExternal(fluent.buildExternal());
    buildable.setObject(fluent.buildObject());
    buildable.setPods(fluent.buildPods());
    buildable.setResource(fluent.buildResource());
    buildable.setType(fluent.getType());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy