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

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

package io.fabric8.tekton.triggers.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ParamSpecBuilder extends ParamSpecFluent implements VisitableBuilder{
  public ParamSpecBuilder() {
    this(new ParamSpec());
  }
  
  public ParamSpecBuilder(ParamSpecFluent fluent) {
    this(fluent, new ParamSpec());
  }
  
  public ParamSpecBuilder(ParamSpecFluent fluent,ParamSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ParamSpecBuilder(ParamSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ParamSpecFluent fluent;
  
  public ParamSpec build() {
    ParamSpec buildable = new ParamSpec(fluent.getDefault(),fluent.getDescription(),fluent.getName());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy