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