annotations.me.snowdrop.applicationcrd.api.model.DoneableServiceSelector 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 DoneableServiceSelector extends ServiceSelectorFluentImpl implements Doneable{
private final ServiceSelectorBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableServiceSelector(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new ServiceSelectorBuilder(this);this.function=function;
}
public DoneableServiceSelector(ServiceSelector item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new ServiceSelectorBuilder(this, item);this.function=function;
}
public DoneableServiceSelector(ServiceSelector item){
super(item);this.builder=new ServiceSelectorBuilder(this, item);this.function=new Function() {
public ServiceSelector apply(ServiceSelector item) {
return item;
}
}
;
}
public ServiceSelector done(){
return function.apply(builder.build());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy