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