
io.kubernetes.client.openapi.models.V1IngressRuleBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import java.lang.Boolean;
public class V1IngressRuleBuilder extends V1IngressRuleFluentImpl implements VisitableBuilder{
public V1IngressRuleBuilder() {
this(false);
}
public V1IngressRuleBuilder(Boolean validationEnabled) {
this(new V1IngressRule(), validationEnabled);
}
public V1IngressRuleBuilder(V1IngressRuleFluent> fluent) {
this(fluent, false);
}
public V1IngressRuleBuilder(V1IngressRuleFluent> fluent,Boolean validationEnabled) {
this(fluent, new V1IngressRule(), validationEnabled);
}
public V1IngressRuleBuilder(V1IngressRuleFluent> fluent,V1IngressRule instance) {
this(fluent, instance, false);
}
public V1IngressRuleBuilder(V1IngressRuleFluent> fluent,V1IngressRule instance,Boolean validationEnabled) {
this.fluent = fluent;
if (instance != null) {
fluent.withHost(instance.getHost());
fluent.withHttp(instance.getHttp());
}
this.validationEnabled = validationEnabled;
}
public V1IngressRuleBuilder(V1IngressRule instance) {
this(instance,false);
}
public V1IngressRuleBuilder(V1IngressRule instance,Boolean validationEnabled) {
this.fluent = this;
if (instance != null) {
this.withHost(instance.getHost());
this.withHttp(instance.getHttp());
}
this.validationEnabled = validationEnabled;
}
V1IngressRuleFluent> fluent;
Boolean validationEnabled;
public V1IngressRule build() {
V1IngressRule buildable = new V1IngressRule();
buildable.setHost(fluent.getHost());
buildable.setHttp(fluent.getHttp());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy