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

io.fabric8.tekton.triggers.v1alpha1.NamespaceSelectorBuilder Maven / Gradle / Ivy

package io.fabric8.tekton.triggers.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class NamespaceSelectorBuilder extends NamespaceSelectorFluent implements VisitableBuilder{
  public NamespaceSelectorBuilder() {
    this(new NamespaceSelector());
  }
  
  public NamespaceSelectorBuilder(NamespaceSelectorFluent fluent) {
    this(fluent, new NamespaceSelector());
  }
  
  public NamespaceSelectorBuilder(NamespaceSelectorFluent fluent,NamespaceSelector instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public NamespaceSelectorBuilder(NamespaceSelector instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  NamespaceSelectorFluent fluent;
  
  public NamespaceSelector build() {
    NamespaceSelector buildable = new NamespaceSelector(fluent.getMatchNames());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy