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