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

io.kubernetes.client.openapi.models.V1CSINodeDriverBuilder 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 V1CSINodeDriverBuilder extends V1CSINodeDriverFluent implements VisitableBuilder{
  public V1CSINodeDriverBuilder() {
    this(new V1CSINodeDriver());
  }
  
  public V1CSINodeDriverBuilder(V1CSINodeDriverFluent fluent) {
    this(fluent, new V1CSINodeDriver());
  }
  
  public V1CSINodeDriverBuilder(V1CSINodeDriverFluent fluent,V1CSINodeDriver instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1CSINodeDriverBuilder(V1CSINodeDriver instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1CSINodeDriverFluent fluent;
  
  public V1CSINodeDriver build() {
    V1CSINodeDriver buildable = new V1CSINodeDriver();
    buildable.setAllocatable(fluent.buildAllocatable());
    buildable.setName(fluent.getName());
    buildable.setNodeID(fluent.getNodeID());
    buildable.setTopologyKeys(fluent.getTopologyKeys());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy