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