io.fabric8.kubernetes.api.model.DoneableVolumeDevice Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import io.fabric8.kubernetes.api.builder.Function;
public class DoneableVolumeDevice extends VolumeDeviceFluentImpl implements Doneable{
private final VolumeDeviceBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableVolumeDevice(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new VolumeDeviceBuilder(this);this.function=function;
}
public DoneableVolumeDevice(VolumeDevice item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new VolumeDeviceBuilder(this, item);this.function=function;
}
public DoneableVolumeDevice(VolumeDevice item){
super(item);this.builder=new VolumeDeviceBuilder(this, item);this.function=new Function() {
public VolumeDevice apply(VolumeDevice item) {
return item;
}
}
;
}
public VolumeDevice done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy