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