io.fabric8.kubernetes.api.model.extensions.HTTPIngressRuleValueBuilder Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.extensions;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class HTTPIngressRuleValueBuilder extends HTTPIngressRuleValueFluent implements VisitableBuilder{
public HTTPIngressRuleValueBuilder() {
this(new HTTPIngressRuleValue());
}
public HTTPIngressRuleValueBuilder(HTTPIngressRuleValueFluent> fluent) {
this(fluent, new HTTPIngressRuleValue());
}
public HTTPIngressRuleValueBuilder(HTTPIngressRuleValueFluent> fluent,HTTPIngressRuleValue instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public HTTPIngressRuleValueBuilder(HTTPIngressRuleValue instance) {
this.fluent = this;
this.copyInstance(instance);
}
HTTPIngressRuleValueFluent> fluent;
public HTTPIngressRuleValue build() {
HTTPIngressRuleValue buildable = new HTTPIngressRuleValue(fluent.buildPaths());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}