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

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

package io.fabric8.tekton.triggers.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class TriggerSpecBindingBuilder extends TriggerSpecBindingFluent implements VisitableBuilder{
  public TriggerSpecBindingBuilder() {
    this(new TriggerSpecBinding());
  }
  
  public TriggerSpecBindingBuilder(TriggerSpecBindingFluent fluent) {
    this(fluent, new TriggerSpecBinding());
  }
  
  public TriggerSpecBindingBuilder(TriggerSpecBindingFluent fluent,TriggerSpecBinding instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public TriggerSpecBindingBuilder(TriggerSpecBinding instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  TriggerSpecBindingFluent fluent;
  
  public TriggerSpecBinding build() {
    TriggerSpecBinding buildable = new TriggerSpecBinding(fluent.getApiversion(),fluent.getKind(),fluent.getName(),fluent.getRef(),fluent.getValue());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy