Class WorkflowRunsCreateRequestOutputsItem.Builder
- java.lang.Object
-
- ai.extend.resources.workflowruns.types.WorkflowRunsCreateRequestOutputsItem.Builder
-
- All Implemented Interfaces:
WorkflowRunsCreateRequestOutputsItem._FinalStage,WorkflowRunsCreateRequestOutputsItem.OutputStage,WorkflowRunsCreateRequestOutputsItem.ProcessorIdStage
- Enclosing class:
- WorkflowRunsCreateRequestOutputsItem
public static final class WorkflowRunsCreateRequestOutputsItem.Builder extends java.lang.Object implements WorkflowRunsCreateRequestOutputsItem.ProcessorIdStage, WorkflowRunsCreateRequestOutputsItem.OutputStage, WorkflowRunsCreateRequestOutputsItem._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowRunsCreateRequestOutputsItembuild()WorkflowRunsCreateRequestOutputsItem.Builderfrom(WorkflowRunsCreateRequestOutputsItem other)WorkflowRunsCreateRequestOutputsItem._FinalStageoutput(ProvidedProcessorOutput output)The output to be used for the workflow run.WorkflowRunsCreateRequestOutputsItem.OutputStageprocessorId(java.lang.String processorId)The ID of the extractor, classifier, or splitter that the output is associated with.
-
-
-
Method Detail
-
from
public WorkflowRunsCreateRequestOutputsItem.Builder from(WorkflowRunsCreateRequestOutputsItem other)
- Specified by:
fromin interfaceWorkflowRunsCreateRequestOutputsItem.ProcessorIdStage
-
processorId
public WorkflowRunsCreateRequestOutputsItem.OutputStage processorId(@NotNull java.lang.String processorId)
The ID of the extractor, classifier, or splitter that the output is associated with. Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"The ID of the extractor, classifier, or splitter that the output is associated with. Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"- Specified by:
processorIdin interfaceWorkflowRunsCreateRequestOutputsItem.ProcessorIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
output
public WorkflowRunsCreateRequestOutputsItem._FinalStage output(@NotNull ProvidedProcessorOutput output)
The output to be used for the workflow run. The structure will depend on the processor type. More details can be found on the "output type" page for the corresponding processor, in the guides section.
The output to be used for the workflow run. The structure will depend on the processor type. More details can be found on the "output type" page for the corresponding processor, in the guides section.
- Specified by:
outputin interfaceWorkflowRunsCreateRequestOutputsItem.OutputStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public WorkflowRunsCreateRequestOutputsItem build()
- Specified by:
buildin interfaceWorkflowRunsCreateRequestOutputsItem._FinalStage
-
-