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