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