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