Class WorkflowVersionsCreateRequest.Builder
- java.lang.Object
-
- ai.extend.resources.workflowversions.requests.WorkflowVersionsCreateRequest.Builder
-
- Enclosing class:
- WorkflowVersionsCreateRequest
public static final class WorkflowVersionsCreateRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowVersionsCreateRequestbuild()WorkflowVersionsCreateRequest.Builderfrom(WorkflowVersionsCreateRequest other)WorkflowVersionsCreateRequest.Buildername(java.lang.String name)WorkflowVersionsCreateRequest.Buildername(java.util.Optional<java.lang.String> name)An optional name for this deployed version.WorkflowVersionsCreateRequest.Buildersteps(java.util.List<WorkflowStepDefinition> steps)WorkflowVersionsCreateRequest.Buildersteps(java.util.Optional<java.util.List<WorkflowStepDefinition>> steps)Optional step definitions.
-
-
-
Method Detail
-
from
public WorkflowVersionsCreateRequest.Builder from(WorkflowVersionsCreateRequest other)
-
name
public WorkflowVersionsCreateRequest.Builder name(java.util.Optional<java.lang.String> name)
An optional name for this deployed version.
-
name
public WorkflowVersionsCreateRequest.Builder name(java.lang.String name)
-
steps
public WorkflowVersionsCreateRequest.Builder steps(java.util.Optional<java.util.List<WorkflowStepDefinition>> steps)
Optional step definitions. When provided, these steps are deployed directly without modifying the draft. When omitted, the current draft is deployed.
All configurable steps (
EXTRACT,CLASSIFY,SPLIT,CONDITIONAL_EXTRACT,RULE_VALIDATION,EXTERNAL_DATA_VALIDATION) must includeconfigwhen deploying. Unconfigured steps are rejected with a 400.See the Configuring Workflows via API guide for step definitions, branching patterns, and examples.
-
steps
public WorkflowVersionsCreateRequest.Builder steps(java.util.List<WorkflowStepDefinition> steps)
-
build
public WorkflowVersionsCreateRequest build()
-
-