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