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

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

package io.fabric8.tekton.triggers.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class TriggerBindingBuilder extends TriggerBindingFluent implements VisitableBuilder{
  public TriggerBindingBuilder() {
    this(new TriggerBinding());
  }
  
  public TriggerBindingBuilder(TriggerBindingFluent fluent) {
    this(fluent, new TriggerBinding());
  }
  
  public TriggerBindingBuilder(TriggerBindingFluent fluent,TriggerBinding instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public TriggerBindingBuilder(TriggerBinding instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  TriggerBindingFluent fluent;
  
  public TriggerBinding build() {
    TriggerBinding buildable = new TriggerBinding(fluent.getApiVersion(),fluent.getKind(),fluent.buildMetadata(),fluent.buildSpec(),fluent.buildStatus());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy