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