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

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

The newest version!
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1ResourceHealthBuilder extends V1ResourceHealthFluent implements VisitableBuilder{
  public V1ResourceHealthBuilder() {
    this(new V1ResourceHealth());
  }
  
  public V1ResourceHealthBuilder(V1ResourceHealthFluent fluent) {
    this(fluent, new V1ResourceHealth());
  }
  
  public V1ResourceHealthBuilder(V1ResourceHealthFluent fluent,V1ResourceHealth instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1ResourceHealthBuilder(V1ResourceHealth instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1ResourceHealthFluent fluent;
  
  public V1ResourceHealth build() {
    V1ResourceHealth buildable = new V1ResourceHealth();
    buildable.setHealth(fluent.getHealth());
    buildable.setResourceID(fluent.getResourceID());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy