io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateListBuilder Maven / Gradle / Ivy
package io.fabric8.tekton.triggers.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class TriggerTemplateListBuilder extends TriggerTemplateListFluent implements VisitableBuilder{
public TriggerTemplateListBuilder() {
this(new TriggerTemplateList());
}
public TriggerTemplateListBuilder(TriggerTemplateListFluent> fluent) {
this(fluent, new TriggerTemplateList());
}
public TriggerTemplateListBuilder(TriggerTemplateListFluent> fluent,TriggerTemplateList instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public TriggerTemplateListBuilder(TriggerTemplateList instance) {
this.fluent = this;
this.copyInstance(instance);
}
TriggerTemplateListFluent> fluent;
public TriggerTemplateList build() {
TriggerTemplateList buildable = new TriggerTemplateList(fluent.getApiVersion(),fluent.buildItems(),fluent.getKind(),fluent.getMetadata());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}