io.fabric8.kubernetes.api.model.extensions.IngressLoadBalancerIngressBuilder Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.extensions;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class IngressLoadBalancerIngressBuilder extends IngressLoadBalancerIngressFluent implements VisitableBuilder{
public IngressLoadBalancerIngressBuilder() {
this(new IngressLoadBalancerIngress());
}
public IngressLoadBalancerIngressBuilder(IngressLoadBalancerIngressFluent> fluent) {
this(fluent, new IngressLoadBalancerIngress());
}
public IngressLoadBalancerIngressBuilder(IngressLoadBalancerIngressFluent> fluent,IngressLoadBalancerIngress instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public IngressLoadBalancerIngressBuilder(IngressLoadBalancerIngress instance) {
this.fluent = this;
this.copyInstance(instance);
}
IngressLoadBalancerIngressFluent> fluent;
public IngressLoadBalancerIngress build() {
IngressLoadBalancerIngress buildable = new IngressLoadBalancerIngress(fluent.getHostname(),fluent.getIp(),fluent.buildPorts());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}