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