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

io.kubernetes.client.openapi.models.V1NodeSelectorBuilder 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 V1NodeSelectorBuilder extends V1NodeSelectorFluent implements VisitableBuilder{
  public V1NodeSelectorBuilder() {
    this(new V1NodeSelector());
  }
  
  public V1NodeSelectorBuilder(V1NodeSelectorFluent fluent) {
    this(fluent, new V1NodeSelector());
  }
  
  public V1NodeSelectorBuilder(V1NodeSelectorFluent fluent,V1NodeSelector instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1NodeSelectorBuilder(V1NodeSelector instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1NodeSelectorFluent fluent;
  
  public V1NodeSelector build() {
    V1NodeSelector buildable = new V1NodeSelector();
    buildable.setNodeSelectorTerms(fluent.buildNodeSelectorTerms());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy