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