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