io.alauda.kubernetes.api.model.extensions.DoneableDaemonSetList 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 DoneableDaemonSetList extends DaemonSetListFluentImpl implements Doneable{
private final DaemonSetListBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableDaemonSetList(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new DaemonSetListBuilder(this);this.function=function;
}
public DoneableDaemonSetList(DaemonSetList item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new DaemonSetListBuilder(this, item);this.function=function;
}
public DoneableDaemonSetList(DaemonSetList item){
super(item);this.builder=new DaemonSetListBuilder(this, item);this.function=new Function() {
public DaemonSetList apply(DaemonSetList item) {
return item;
}
}
;
}
public DaemonSetList done(){
return function.apply(builder.build());
}
}