annotations.io.fabric8.knative.duck.v1alpha1.DoneableResourceList Maven / Gradle / Ivy
package io.fabric8.knative.duck.v1alpha1;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableResourceList extends ResourceListFluentImpl implements Doneable{
private final ResourceListBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableResourceList(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new ResourceListBuilder(this);this.function=function;
}
public DoneableResourceList(ResourceList item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new ResourceListBuilder(this, item);this.function=function;
}
public DoneableResourceList(ResourceList item){
super(item);this.builder=new ResourceListBuilder(this, item);this.function=new Function() {
public ResourceList apply(ResourceList item) {
return item;
}
}
;
}
public ResourceList done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy