Class WorkflowRunCreateResponse.Builder
- java.lang.Object
-
- ai.extend.resources.workflowrun.types.WorkflowRunCreateResponse.Builder
-
- All Implemented Interfaces:
WorkflowRunCreateResponse._FinalStage,WorkflowRunCreateResponse.SuccessStage
- Enclosing class:
- WorkflowRunCreateResponse
public static final class WorkflowRunCreateResponse.Builder extends java.lang.Object implements WorkflowRunCreateResponse.SuccessStage, WorkflowRunCreateResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowRunCreateResponse._FinalStageaddAllWorkflowRuns(java.util.List<WorkflowRun> workflowRuns)An array of WorkflowRun objects, with each WorkflowRun corresponding to a single File that was passed in.WorkflowRunCreateResponse._FinalStageaddWorkflowRuns(WorkflowRun workflowRuns)An array of WorkflowRun objects, with each WorkflowRun corresponding to a single File that was passed in.WorkflowRunCreateResponsebuild()WorkflowRunCreateResponse.Builderfrom(WorkflowRunCreateResponse other)WorkflowRunCreateResponse._FinalStagesuccess(boolean success)WorkflowRunCreateResponse._FinalStageworkflowRuns(java.util.List<WorkflowRun> workflowRuns)An array of WorkflowRun objects, with each WorkflowRun corresponding to a single File that was passed in.
-
-
-
Method Detail
-
from
public WorkflowRunCreateResponse.Builder from(WorkflowRunCreateResponse other)
- Specified by:
fromin interfaceWorkflowRunCreateResponse.SuccessStage
-
success
public WorkflowRunCreateResponse._FinalStage success(boolean success)
- Specified by:
successin interfaceWorkflowRunCreateResponse.SuccessStage
-
addAllWorkflowRuns
public WorkflowRunCreateResponse._FinalStage addAllWorkflowRuns(java.util.List<WorkflowRun> workflowRuns)
An array of WorkflowRun objects, with each WorkflowRun corresponding to a single File that was passed in.
- Specified by:
addAllWorkflowRunsin interfaceWorkflowRunCreateResponse._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addWorkflowRuns
public WorkflowRunCreateResponse._FinalStage addWorkflowRuns(WorkflowRun workflowRuns)
An array of WorkflowRun objects, with each WorkflowRun corresponding to a single File that was passed in.
- Specified by:
addWorkflowRunsin interfaceWorkflowRunCreateResponse._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
workflowRuns
public WorkflowRunCreateResponse._FinalStage workflowRuns(java.util.List<WorkflowRun> workflowRuns)
An array of WorkflowRun objects, with each WorkflowRun corresponding to a single File that was passed in.
- Specified by:
workflowRunsin interfaceWorkflowRunCreateResponse._FinalStage
-
build
public WorkflowRunCreateResponse build()
- Specified by:
buildin interfaceWorkflowRunCreateResponse._FinalStage
-
-