io.alauda.kubernetes.api.model.DoneableClusterPipelineTaskTemplateList Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import io.alauda.kubernetes.api.builder.Function;
public class DoneableClusterPipelineTaskTemplateList extends ClusterPipelineTaskTemplateListFluentImpl implements Doneable{
private final ClusterPipelineTaskTemplateListBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableClusterPipelineTaskTemplateList(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new ClusterPipelineTaskTemplateListBuilder(this);this.function=function;
}
public DoneableClusterPipelineTaskTemplateList(ClusterPipelineTaskTemplateList item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new ClusterPipelineTaskTemplateListBuilder(this, item);this.function=function;
}
public DoneableClusterPipelineTaskTemplateList(ClusterPipelineTaskTemplateList item){
super(item);this.builder=new ClusterPipelineTaskTemplateListBuilder(this, item);this.function=new Function() {
public ClusterPipelineTaskTemplateList apply(ClusterPipelineTaskTemplateList item) {
return item;
}
}
;
}
public ClusterPipelineTaskTemplateList done(){
return function.apply(builder.build());
}
}