Package ai.extend.types
Class WorkflowVersion.Builder
- java.lang.Object
-
- ai.extend.types.WorkflowVersion.Builder
-
- All Implemented Interfaces:
WorkflowVersion._FinalStage,WorkflowVersion.IdStage,WorkflowVersion.VersionStage
- Enclosing class:
- WorkflowVersion
public static final class WorkflowVersion.Builder extends java.lang.Object implements WorkflowVersion.IdStage, WorkflowVersion.VersionStage, WorkflowVersion._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowVersionbuild()WorkflowVersion.Builderfrom(WorkflowVersion other)WorkflowVersion.VersionStageid(java.lang.String id)The ID of the workflow version.WorkflowVersion._FinalStagename(Nullable<java.lang.String> name)The name of the workflow version.WorkflowVersion._FinalStagename(java.lang.String name)The name of the workflow version.WorkflowVersion._FinalStagename(java.util.Optional<java.lang.String> name)The name of the workflow version.WorkflowVersion._FinalStageversion(java.lang.String version)The version of the workflow version.
-
-
-
Method Detail
-
from
public WorkflowVersion.Builder from(WorkflowVersion other)
- Specified by:
fromin interfaceWorkflowVersion.IdStage
-
id
public WorkflowVersion.VersionStage id(@NotNull java.lang.String id)
The ID of the workflow version.
Example:
"workflow_version_Zk9mNP12Qw4-yTv8BdR3H"The ID of the workflow version.
Example:
"workflow_version_Zk9mNP12Qw4-yTv8BdR3H"- Specified by:
idin interfaceWorkflowVersion.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
public WorkflowVersion._FinalStage version(@NotNull java.lang.String version)
The version of the workflow version.
Example:
"3"The version of the workflow version.
Example:
"3"- Specified by:
versionin interfaceWorkflowVersion.VersionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public WorkflowVersion._FinalStage name(Nullable<java.lang.String> name)
The name of the workflow version.
Example:
"Invoice Processing"- Specified by:
namein interfaceWorkflowVersion._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public WorkflowVersion._FinalStage name(java.lang.String name)
The name of the workflow version.
Example:
"Invoice Processing"- Specified by:
namein interfaceWorkflowVersion._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public WorkflowVersion._FinalStage name(java.util.Optional<java.lang.String> name)
The name of the workflow version.
Example:
"Invoice Processing"- Specified by:
namein interfaceWorkflowVersion._FinalStage
-
build
public WorkflowVersion build()
- Specified by:
buildin interfaceWorkflowVersion._FinalStage
-
-