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