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