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