Package ai.extend.types
Class SplitStepRunStep.Builder
- java.lang.Object
-
- ai.extend.types.SplitStepRunStep.Builder
-
- All Implemented Interfaces:
SplitStepRunStep._FinalStage,SplitStepRunStep.IdStage,SplitStepRunStep.NameStage
- Enclosing class:
- SplitStepRunStep
public static final class SplitStepRunStep.Builder extends java.lang.Object implements SplitStepRunStep.IdStage, SplitStepRunStep.NameStage, SplitStepRunStep._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SplitStepRunStepbuild()SplitStepRunStep.Builderfrom(SplitStepRunStep other)SplitStepRunStep.NameStageid(java.lang.String id)Deprecated: This ID is not consistent across workflow versions.SplitStepRunStep._FinalStagename(java.lang.String name)The name of the workflow step.SplitStepRunStep._FinalStagetype(java.lang.String type)The type of workflow step.SplitStepRunStep._FinalStagetype(java.util.Optional<java.lang.String> type)The type of workflow step.
-
-
-
Method Detail
-
from
public SplitStepRunStep.Builder from(SplitStepRunStep other)
- Specified by:
fromin interfaceSplitStepRunStep.IdStage
-
id
public SplitStepRunStep.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 interfaceSplitStepRunStep.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public SplitStepRunStep._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 interfaceSplitStepRunStep.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
public SplitStepRunStep._FinalStage type(java.lang.String type)
The type of workflow step. Will always be
"SPLIT"for this step run type.- Specified by:
typein interfaceSplitStepRunStep._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
public SplitStepRunStep._FinalStage type(java.util.Optional<java.lang.String> type)
The type of workflow step. Will always be
"SPLIT"for this step run type.- Specified by:
typein interfaceSplitStepRunStep._FinalStage
-
build
public SplitStepRunStep build()
- Specified by:
buildin interfaceSplitStepRunStep._FinalStage
-
-