Class WorkflowRunsCreateBatchRequest.Builder
- java.lang.Object
-
- ai.extend.resources.workflowruns.requests.WorkflowRunsCreateBatchRequest.Builder
-
- All Implemented Interfaces:
WorkflowRunsCreateBatchRequest._FinalStage,WorkflowRunsCreateBatchRequest.WorkflowStage
- Enclosing class:
- WorkflowRunsCreateBatchRequest
public static final class WorkflowRunsCreateBatchRequest.Builder extends java.lang.Object implements WorkflowRunsCreateBatchRequest.WorkflowStage, WorkflowRunsCreateBatchRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowRunsCreateBatchRequest._FinalStageaddAllInputs(java.util.List<WorkflowRunsCreateBatchRequestInputsItem> inputs)An array of input objects to be processed by the workflow.WorkflowRunsCreateBatchRequest._FinalStageaddInputs(WorkflowRunsCreateBatchRequestInputsItem inputs)An array of input objects to be processed by the workflow.WorkflowRunsCreateBatchRequestbuild()WorkflowRunsCreateBatchRequest.Builderfrom(WorkflowRunsCreateBatchRequest other)WorkflowRunsCreateBatchRequest._FinalStageinputs(java.util.List<WorkflowRunsCreateBatchRequestInputsItem> inputs)An array of input objects to be processed by the workflow.WorkflowRunsCreateBatchRequest._FinalStageworkflow(WorkflowReference workflow)
-
-
-
Method Detail
-
from
public WorkflowRunsCreateBatchRequest.Builder from(WorkflowRunsCreateBatchRequest other)
- Specified by:
fromin interfaceWorkflowRunsCreateBatchRequest.WorkflowStage
-
workflow
public WorkflowRunsCreateBatchRequest._FinalStage workflow(@NotNull WorkflowReference workflow)
- Specified by:
workflowin interfaceWorkflowRunsCreateBatchRequest.WorkflowStage
-
addAllInputs
public WorkflowRunsCreateBatchRequest._FinalStage addAllInputs(java.util.List<WorkflowRunsCreateBatchRequestInputsItem> inputs)
An array of input objects to be processed by the workflow. Each object represents a single workflow run to be created. The array must contain at least 1 input and at most 1000 inputs.
- Specified by:
addAllInputsin interfaceWorkflowRunsCreateBatchRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addInputs
public WorkflowRunsCreateBatchRequest._FinalStage addInputs(WorkflowRunsCreateBatchRequestInputsItem inputs)
An array of input objects to be processed by the workflow. Each object represents a single workflow run to be created. The array must contain at least 1 input and at most 1000 inputs.
- Specified by:
addInputsin interfaceWorkflowRunsCreateBatchRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
inputs
public WorkflowRunsCreateBatchRequest._FinalStage inputs(java.util.List<WorkflowRunsCreateBatchRequestInputsItem> inputs)
An array of input objects to be processed by the workflow. Each object represents a single workflow run to be created. The array must contain at least 1 input and at most 1000 inputs.
- Specified by:
inputsin interfaceWorkflowRunsCreateBatchRequest._FinalStage
-
build
public WorkflowRunsCreateBatchRequest build()
- Specified by:
buildin interfaceWorkflowRunsCreateBatchRequest._FinalStage
-
-