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

io.kubernetes.client.openapi.models.V1VolumeDeviceBuilder 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 V1VolumeDeviceBuilder extends V1VolumeDeviceFluent implements VisitableBuilder{
  public V1VolumeDeviceBuilder() {
    this(new V1VolumeDevice());
  }
  
  public V1VolumeDeviceBuilder(V1VolumeDeviceFluent fluent) {
    this(fluent, new V1VolumeDevice());
  }
  
  public V1VolumeDeviceBuilder(V1VolumeDeviceFluent fluent,V1VolumeDevice instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1VolumeDeviceBuilder(V1VolumeDevice instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1VolumeDeviceFluent fluent;
  
  public V1VolumeDevice build() {
    V1VolumeDevice buildable = new V1VolumeDevice();
    buildable.setDevicePath(fluent.getDevicePath());
    buildable.setName(fluent.getName());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy