annotations.io.alauda.kubernetes.api.model.DoneableVsphereVirtualDiskVolumeSource Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import io.alauda.kubernetes.api.builder.Function;
public class DoneableVsphereVirtualDiskVolumeSource extends VsphereVirtualDiskVolumeSourceFluentImpl implements Doneable{
private final VsphereVirtualDiskVolumeSourceBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableVsphereVirtualDiskVolumeSource(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new VsphereVirtualDiskVolumeSourceBuilder(this);this.function=function;
}
public DoneableVsphereVirtualDiskVolumeSource(VsphereVirtualDiskVolumeSource item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new VsphereVirtualDiskVolumeSourceBuilder(this, item);this.function=function;
}
public DoneableVsphereVirtualDiskVolumeSource(VsphereVirtualDiskVolumeSource item){
super(item);this.builder=new VsphereVirtualDiskVolumeSourceBuilder(this, item);this.function=new Function() {
public VsphereVirtualDiskVolumeSource apply(VsphereVirtualDiskVolumeSource item) {
return item;
}
}
;
}
public VsphereVirtualDiskVolumeSource done(){
return function.apply(builder.build());
}
}