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