io.alauda.kubernetes.api.model.extensions.DoneableHTTPIngressPath Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model.extensions;
import io.alauda.kubernetes.api.builder.Function;
import io.alauda.kubernetes.api.model.Doneable;
public class DoneableHTTPIngressPath extends HTTPIngressPathFluentImpl implements Doneable{
private final HTTPIngressPathBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableHTTPIngressPath(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new HTTPIngressPathBuilder(this);this.function=function;
}
public DoneableHTTPIngressPath(HTTPIngressPath item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new HTTPIngressPathBuilder(this, item);this.function=function;
}
public DoneableHTTPIngressPath(HTTPIngressPath item){
super(item);this.builder=new HTTPIngressPathBuilder(this, item);this.function=new Function() {
public HTTPIngressPath apply(HTTPIngressPath item) {
return item;
}
}
;
}
public HTTPIngressPath done(){
return function.apply(builder.build());
}
}