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