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

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

package io.fabric8.tekton.triggers.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class InterceptorSpecBuilder extends InterceptorSpecFluent implements VisitableBuilder{
  public InterceptorSpecBuilder() {
    this(new InterceptorSpec());
  }
  
  public InterceptorSpecBuilder(InterceptorSpecFluent fluent) {
    this(fluent, new InterceptorSpec());
  }
  
  public InterceptorSpecBuilder(InterceptorSpecFluent fluent,InterceptorSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public InterceptorSpecBuilder(InterceptorSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  InterceptorSpecFluent fluent;
  
  public InterceptorSpec build() {
    InterceptorSpec buildable = new InterceptorSpec(fluent.buildClientConfig());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy