me.snowdrop.istio.api.networking.v1alpha3.DoneableHTTPCookie Maven / Gradle / Ivy
package me.snowdrop.istio.api.networking.v1alpha3;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableHTTPCookie extends HTTPCookieFluentImpl implements Doneable{
private final HTTPCookieBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableHTTPCookie(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new HTTPCookieBuilder(this);this.function=function;
}
public DoneableHTTPCookie(HTTPCookie item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new HTTPCookieBuilder(this, item);this.function=function;
}
public DoneableHTTPCookie(HTTPCookie item){
super(item);this.builder=new HTTPCookieBuilder(this, item);this.function=new Function() {
public HTTPCookie apply(HTTPCookie item) {
return item;
}
}
;
}
public HTTPCookie done(){
return function.apply(builder.build());
}
}