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