io.fabric8.kubernetes.api.model.DoneableLoadBalancerIngress Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import io.fabric8.kubernetes.api.builder.Function;
public class DoneableLoadBalancerIngress extends LoadBalancerIngressFluentImpl implements Doneable{
private final LoadBalancerIngressBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableLoadBalancerIngress(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new LoadBalancerIngressBuilder(this);this.function=function;
}
public DoneableLoadBalancerIngress(LoadBalancerIngress item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new LoadBalancerIngressBuilder(this, item);this.function=function;
}
public DoneableLoadBalancerIngress(LoadBalancerIngress item){
super(item);this.builder=new LoadBalancerIngressBuilder(this, item);this.function=new Function() {
public LoadBalancerIngress apply(LoadBalancerIngress item) {
return item;
}
}
;
}
public LoadBalancerIngress done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy