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

io.kubernetes.client.openapi.models.V1SchedulingBuilder 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 V1SchedulingBuilder extends V1SchedulingFluent implements VisitableBuilder{
  public V1SchedulingBuilder() {
    this(new V1Scheduling());
  }
  
  public V1SchedulingBuilder(V1SchedulingFluent fluent) {
    this(fluent, new V1Scheduling());
  }
  
  public V1SchedulingBuilder(V1SchedulingFluent fluent,V1Scheduling instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1SchedulingBuilder(V1Scheduling instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1SchedulingFluent fluent;
  
  public V1Scheduling build() {
    V1Scheduling buildable = new V1Scheduling();
    buildable.setNodeSelector(fluent.getNodeSelector());
    buildable.setTolerations(fluent.buildTolerations());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy