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