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

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

package io.fabric8.tekton.triggers.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class WebhookInterceptorBuilder extends WebhookInterceptorFluent implements VisitableBuilder{
  public WebhookInterceptorBuilder() {
    this(new WebhookInterceptor());
  }
  
  public WebhookInterceptorBuilder(WebhookInterceptorFluent fluent) {
    this(fluent, new WebhookInterceptor());
  }
  
  public WebhookInterceptorBuilder(WebhookInterceptorFluent fluent,WebhookInterceptor instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public WebhookInterceptorBuilder(WebhookInterceptor instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  WebhookInterceptorFluent fluent;
  
  public WebhookInterceptor build() {
    WebhookInterceptor buildable = new WebhookInterceptor(fluent.getHeader(),fluent.buildObjectRef(),fluent.getUrl());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy