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