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

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

package io.fabric8.tekton.triggers.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class TriggerListBuilder extends TriggerListFluent implements VisitableBuilder{
  public TriggerListBuilder() {
    this(new TriggerList());
  }
  
  public TriggerListBuilder(TriggerListFluent fluent) {
    this(fluent, new TriggerList());
  }
  
  public TriggerListBuilder(TriggerListFluent fluent,TriggerList instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public TriggerListBuilder(TriggerList instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  TriggerListFluent fluent;
  
  public TriggerList build() {
    TriggerList buildable = new TriggerList(fluent.getApiVersion(),fluent.buildItems(),fluent.getKind(),fluent.getMetadata());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy