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

io.kubernetes.client.openapi.models.V2ContainerResourceMetricStatusBuilder 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;
import java.lang.Boolean;
public class V2ContainerResourceMetricStatusBuilder extends V2ContainerResourceMetricStatusFluentImpl implements VisitableBuilder{
  public V2ContainerResourceMetricStatusBuilder() {
    this(false);
  }
  public V2ContainerResourceMetricStatusBuilder(Boolean validationEnabled) {
    this(new V2ContainerResourceMetricStatus(), validationEnabled);
  }
  public V2ContainerResourceMetricStatusBuilder(V2ContainerResourceMetricStatusFluent fluent) {
    this(fluent, false);
  }
  public V2ContainerResourceMetricStatusBuilder(V2ContainerResourceMetricStatusFluent fluent,Boolean validationEnabled) {
    this(fluent, new V2ContainerResourceMetricStatus(), validationEnabled);
  }
  public V2ContainerResourceMetricStatusBuilder(V2ContainerResourceMetricStatusFluent fluent,V2ContainerResourceMetricStatus instance) {
    this(fluent, instance, false);
  }
  public V2ContainerResourceMetricStatusBuilder(V2ContainerResourceMetricStatusFluent fluent,V2ContainerResourceMetricStatus instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withContainer(instance.getContainer());

    fluent.withCurrent(instance.getCurrent());

    fluent.withName(instance.getName());

    this.validationEnabled = validationEnabled; 
  }
  public V2ContainerResourceMetricStatusBuilder(V2ContainerResourceMetricStatus instance) {
    this(instance,false);
  }
  public V2ContainerResourceMetricStatusBuilder(V2ContainerResourceMetricStatus instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withContainer(instance.getContainer());

    this.withCurrent(instance.getCurrent());

    this.withName(instance.getName());

    this.validationEnabled = validationEnabled; 
  }
  V2ContainerResourceMetricStatusFluent fluent;
  Boolean validationEnabled;
  public V2ContainerResourceMetricStatus build() {
    V2ContainerResourceMetricStatus buildable = new V2ContainerResourceMetricStatus();
    buildable.setContainer(fluent.getContainer());
    buildable.setCurrent(fluent.getCurrent());
    buildable.setName(fluent.getName());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy