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