annotations.me.snowdrop.applicationcrd.api.model.DoneableGroupKind Maven / Gradle / Ivy
package me.snowdrop.applicationcrd.api.model;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableGroupKind extends GroupKindFluentImpl implements Doneable{
private final GroupKindBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableGroupKind(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new GroupKindBuilder(this);this.function=function;
}
public DoneableGroupKind(GroupKind item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new GroupKindBuilder(this, item);this.function=function;
}
public DoneableGroupKind(GroupKind item){
super(item);this.builder=new GroupKindBuilder(this, item);this.function=new Function() {
public GroupKind apply(GroupKind item) {
return item;
}
}
;
}
public GroupKind done(){
return function.apply(builder.build());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy