All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.knative.internal.networking.v1alpha1.HTTPIngressRuleValueBuilder Maven / Gradle / Ivy

package io.fabric8.knative.internal.networking.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
public class HTTPIngressRuleValueBuilder extends HTTPIngressRuleValueFluent implements VisitableBuilder{
  public HTTPIngressRuleValueBuilder() {
    this(false);
  }
  public HTTPIngressRuleValueBuilder(Boolean validationEnabled) {
    this(new HTTPIngressRuleValue(), validationEnabled);
  }
  public HTTPIngressRuleValueBuilder(HTTPIngressRuleValueFluent fluent) {
    this(fluent, false);
  }
  public HTTPIngressRuleValueBuilder(HTTPIngressRuleValueFluent fluent,Boolean validationEnabled) {
    this(fluent, new HTTPIngressRuleValue(), validationEnabled);
  }
  public HTTPIngressRuleValueBuilder(HTTPIngressRuleValueFluent fluent,HTTPIngressRuleValue instance) {
    this(fluent, instance, false);
  }
  public HTTPIngressRuleValueBuilder(HTTPIngressRuleValueFluent fluent,HTTPIngressRuleValue instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    instance = (instance != null ? instance : new HTTPIngressRuleValue());

    if (instance != null) {
      fluent.withPaths(instance.getPaths());
      fluent.withPaths(instance.getPaths());
    }
    this.validationEnabled = validationEnabled; 
  }
  public HTTPIngressRuleValueBuilder(HTTPIngressRuleValue instance) {
    this(instance,false);
  }
  public HTTPIngressRuleValueBuilder(HTTPIngressRuleValue instance,Boolean validationEnabled) {
    this.fluent = this; 
    instance = (instance != null ? instance : new HTTPIngressRuleValue());

    if (instance != null) {
      this.withPaths(instance.getPaths());
      this.withPaths(instance.getPaths());
    }
    this.validationEnabled = validationEnabled; 
  }
  HTTPIngressRuleValueFluent fluent;
  Boolean validationEnabled;
  public HTTPIngressRuleValue build() {
    HTTPIngressRuleValue buildable = new HTTPIngressRuleValue(fluent.buildPaths());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy