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