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

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

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

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1beta1AllocationResultBuilder extends V1beta1AllocationResultFluent implements VisitableBuilder{
  public V1beta1AllocationResultBuilder() {
    this(new V1beta1AllocationResult());
  }
  
  public V1beta1AllocationResultBuilder(V1beta1AllocationResultFluent fluent) {
    this(fluent, new V1beta1AllocationResult());
  }
  
  public V1beta1AllocationResultBuilder(V1beta1AllocationResultFluent fluent,V1beta1AllocationResult instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1beta1AllocationResultBuilder(V1beta1AllocationResult instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1beta1AllocationResultFluent fluent;
  
  public V1beta1AllocationResult build() {
    V1beta1AllocationResult buildable = new V1beta1AllocationResult();
    buildable.setDevices(fluent.buildDevices());
    buildable.setNodeSelector(fluent.buildNodeSelector());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy