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

io.kubernetes.client.openapi.models.V1NodeConditionBuilder 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 V1NodeConditionBuilder extends V1NodeConditionFluent implements VisitableBuilder{
  public V1NodeConditionBuilder() {
    this(new V1NodeCondition());
  }
  
  public V1NodeConditionBuilder(V1NodeConditionFluent fluent) {
    this(fluent, new V1NodeCondition());
  }
  
  public V1NodeConditionBuilder(V1NodeConditionFluent fluent,V1NodeCondition instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1NodeConditionBuilder(V1NodeCondition instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1NodeConditionFluent fluent;
  
  public V1NodeCondition build() {
    V1NodeCondition buildable = new V1NodeCondition();
    buildable.setLastHeartbeatTime(fluent.getLastHeartbeatTime());
    buildable.setLastTransitionTime(fluent.getLastTransitionTime());
    buildable.setMessage(fluent.getMessage());
    buildable.setReason(fluent.getReason());
    buildable.setStatus(fluent.getStatus());
    buildable.setType(fluent.getType());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy