Package ai.extend.types
Class WorkflowStepBase.Builder
- java.lang.Object
-
- ai.extend.types.WorkflowStepBase.Builder
-
- All Implemented Interfaces:
WorkflowStepBase._FinalStage,WorkflowStepBase.IdStage,WorkflowStepBase.NameStage
- Enclosing class:
- WorkflowStepBase
public static final class WorkflowStepBase.Builder extends java.lang.Object implements WorkflowStepBase.IdStage, WorkflowStepBase.NameStage, WorkflowStepBase._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowStepBasebuild()WorkflowStepBase.Builderfrom(WorkflowStepBase other)WorkflowStepBase.NameStageid(java.lang.String id)Deprecated: This ID is not consistent across workflow versions.WorkflowStepBase._FinalStagename(java.lang.String name)The name of the workflow step.
-
-
-
Method Detail
-
from
public WorkflowStepBase.Builder from(WorkflowStepBase other)
- Specified by:
fromin interfaceWorkflowStepBase.IdStage
-
id
public WorkflowStepBase.NameStage id(@NotNull java.lang.String id)
Deprecated: This ID is not consistent across workflow versions. This field will be removed in a future API version.
The ID of the workflow step.
Example:
"step_xKm9pNv3qWsY_jL2tR5Dh"Deprecated: This ID is not consistent across workflow versions. This field will be removed in a future API version.
The ID of the workflow step.
Example:
"step_xKm9pNv3qWsY_jL2tR5Dh"- Specified by:
idin interfaceWorkflowStepBase.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public WorkflowStepBase._FinalStage name(@NotNull java.lang.String name)
The name of the workflow step.
Example:
"Validate Invoice Total"The name of the workflow step.
Example:
"Validate Invoice Total"- Specified by:
namein interfaceWorkflowStepBase.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public WorkflowStepBase build()
- Specified by:
buildin interfaceWorkflowStepBase._FinalStage
-
-