Package ai.extend.types
Class WorkflowSummary.Builder
- java.lang.Object
-
- ai.extend.types.WorkflowSummary.Builder
-
- All Implemented Interfaces:
WorkflowSummary._FinalStage,WorkflowSummary.CreatedAtStage,WorkflowSummary.IdStage,WorkflowSummary.NameStage,WorkflowSummary.UpdatedAtStage
- Enclosing class:
- WorkflowSummary
public static final class WorkflowSummary.Builder extends java.lang.Object implements WorkflowSummary.IdStage, WorkflowSummary.NameStage, WorkflowSummary.CreatedAtStage, WorkflowSummary.UpdatedAtStage, WorkflowSummary._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowSummarybuild()WorkflowSummary.UpdatedAtStagecreatedAt(java.time.OffsetDateTime createdAt)WorkflowSummary._FinalStagecreatedBy(Nullable<CreatedBy> createdBy)WorkflowSummary._FinalStagecreatedBy(CreatedBy createdBy)WorkflowSummary._FinalStagecreatedBy(java.util.Optional<CreatedBy> createdBy)WorkflowSummary.Builderfrom(WorkflowSummary other)WorkflowSummary.NameStageid(java.lang.String id)The ID of the workflow.WorkflowSummary.CreatedAtStagename(java.lang.String name)The name of the workflow.WorkflowSummary._FinalStageupdatedAt(java.time.OffsetDateTime updatedAt)
-
-
-
Method Detail
-
from
public WorkflowSummary.Builder from(WorkflowSummary other)
- Specified by:
fromin interfaceWorkflowSummary.IdStage
-
id
public WorkflowSummary.NameStage id(@NotNull java.lang.String id)
The ID of the workflow.
The ID of the workflow.
- Specified by:
idin interfaceWorkflowSummary.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public WorkflowSummary.CreatedAtStage name(@NotNull java.lang.String name)
The name of the workflow.
The name of the workflow.
- Specified by:
namein interfaceWorkflowSummary.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public WorkflowSummary.UpdatedAtStage createdAt(@NotNull java.time.OffsetDateTime createdAt)
- Specified by:
createdAtin interfaceWorkflowSummary.CreatedAtStage
-
updatedAt
public WorkflowSummary._FinalStage updatedAt(@NotNull java.time.OffsetDateTime updatedAt)
- Specified by:
updatedAtin interfaceWorkflowSummary.UpdatedAtStage
-
createdBy
public WorkflowSummary._FinalStage createdBy(Nullable<CreatedBy> createdBy)
- Specified by:
createdByin interfaceWorkflowSummary._FinalStage
-
createdBy
public WorkflowSummary._FinalStage createdBy(CreatedBy createdBy)
- Specified by:
createdByin interfaceWorkflowSummary._FinalStage
-
createdBy
public WorkflowSummary._FinalStage createdBy(java.util.Optional<CreatedBy> createdBy)
- Specified by:
createdByin interfaceWorkflowSummary._FinalStage
-
build
public WorkflowSummary build()
- Specified by:
buildin interfaceWorkflowSummary._FinalStage
-
-