Package ai.extend.types
Class WorkflowRunPackage.Builder
- java.lang.Object
-
- ai.extend.types.WorkflowRunPackage.Builder
-
- Enclosing class:
- WorkflowRunPackage
public static final class WorkflowRunPackage.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowRunPackage.BuilderaddAllFiles(java.util.List<WorkflowRunPackageFilesItem> files)WorkflowRunPackage.BuilderaddFiles(WorkflowRunPackageFilesItem files)WorkflowRunPackagebuild()WorkflowRunPackage.Builderfiles(java.util.List<WorkflowRunPackageFilesItem> files)The files to process, in submission order.WorkflowRunPackage.Builderfrom(WorkflowRunPackage other)
-
-
-
Method Detail
-
from
public WorkflowRunPackage.Builder from(WorkflowRunPackage other)
-
files
public WorkflowRunPackage.Builder files(java.util.List<WorkflowRunPackageFilesItem> files)
The files to process, in submission order. Each entry can be a URL or an existing Extend file ID. Raw text and base64 inputs are not supported for package runs.
Duplicate file IDs and duplicate URLs are rejected — each file may appear only once. A URL and a file ID are never treated as duplicates of each other, even if they resolve to the same document.
-
addFiles
public WorkflowRunPackage.Builder addFiles(WorkflowRunPackageFilesItem files)
-
addAllFiles
public WorkflowRunPackage.Builder addAllFiles(java.util.List<WorkflowRunPackageFilesItem> files)
-
build
public WorkflowRunPackage build()
-
-