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

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

package io.fabric8.tekton.triggers.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ParamBuilder extends ParamFluent implements VisitableBuilder{
  public ParamBuilder() {
    this(new Param());
  }
  
  public ParamBuilder(ParamFluent fluent) {
    this(fluent, new Param());
  }
  
  public ParamBuilder(ParamFluent fluent,Param instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ParamBuilder(Param instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ParamFluent fluent;
  
  public Param build() {
    Param buildable = new Param(fluent.getName(),fluent.getValue());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy