io.alauda.devops.api.model.DoneableSecurityContextConstraintsList 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 DoneableSecurityContextConstraintsList extends SecurityContextConstraintsListFluentImpl implements Doneable{
private final SecurityContextConstraintsListBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableSecurityContextConstraintsList(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new SecurityContextConstraintsListBuilder(this);this.function=function;
}
public DoneableSecurityContextConstraintsList(SecurityContextConstraintsList item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new SecurityContextConstraintsListBuilder(this, item);this.function=function;
}
public DoneableSecurityContextConstraintsList(SecurityContextConstraintsList item){
super(item);this.builder=new SecurityContextConstraintsListBuilder(this, item);this.function=new Function() {
public SecurityContextConstraintsList apply(SecurityContextConstraintsList item) {
return item;
}
}
;
}
public SecurityContextConstraintsList done(){
return function.apply(builder.build());
}
}