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

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

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

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

    if (instance != null) {
      fluent.withExact(instance.getExact());
      fluent.withExact(instance.getExact());
    }
    this.validationEnabled = validationEnabled; 
  }
  public HeaderMatchBuilder(HeaderMatch instance) {
    this(instance,false);
  }
  public HeaderMatchBuilder(HeaderMatch instance,Boolean validationEnabled) {
    this.fluent = this; 
    instance = (instance != null ? instance : new HeaderMatch());

    if (instance != null) {
      this.withExact(instance.getExact());
      this.withExact(instance.getExact());
    }
    this.validationEnabled = validationEnabled; 
  }
  HeaderMatchFluent fluent;
  Boolean validationEnabled;
  public HeaderMatch build() {
    HeaderMatch buildable = new HeaderMatch(fluent.getExact());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy