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