annotations.io.alauda.kubernetes.api.model.extensions.DoneableFSGroupStrategyOptions 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 DoneableFSGroupStrategyOptions extends io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptionsFluentImpl implements Doneable{
private final io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptionsBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableFSGroupStrategyOptions(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new FSGroupStrategyOptionsBuilder(this);this.function=function;
}
public DoneableFSGroupStrategyOptions(io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new FSGroupStrategyOptionsBuilder(this, item);this.function=function;
}
public DoneableFSGroupStrategyOptions(io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions item){
super(item);this.builder=new FSGroupStrategyOptionsBuilder(this, item);this.function=new Function() {
public io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions apply(io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions item) {
return item;
}
}
;
}
public io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions done(){
return function.apply(builder.build());
}
}