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