
io.fabric8.openshift.api.model.DoneableRoleList Maven / Gradle / Ivy
package io.fabric8.openshift.api.model;
import io.fabric8.kubernetes.api.model.Doneable;
import io.fabric8.kubernetes.api.builder.Function;
public class DoneableRoleList extends RoleListFluentImpl implements Doneable{
private final RoleListBuilder builder;
private final Function function;
public DoneableRoleList(Function function){
super();this.builder=new RoleListBuilder(this);this.function=function;
}
public DoneableRoleList(RoleList item,Function function){
super(item);this.builder=new RoleListBuilder(this, item);this.function=function;
}
public DoneableRoleList(RoleList item){
super(item);this.builder=new RoleListBuilder(this, item);this.function=new Function() {
public RoleList apply(RoleList item) {
return item;
}
}
;
}
public RoleList done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy