io.fabric8.kubernetes.api.model.DoneableExecConfig Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import io.fabric8.kubernetes.api.builder.Function;
public class DoneableExecConfig extends ExecConfigFluentImpl implements Doneable{
private final ExecConfigBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableExecConfig(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new ExecConfigBuilder(this);this.function=function;
}
public DoneableExecConfig(ExecConfig item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new ExecConfigBuilder(this, item);this.function=function;
}
public DoneableExecConfig(ExecConfig item){
super(item);this.builder=new ExecConfigBuilder(this, item);this.function=new Function() {
public ExecConfig apply(ExecConfig item) {
return item;
}
}
;
}
public ExecConfig done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy