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