Package ai.extend.types
Class WorkflowRunCancelledWebhookEvent.Builder
- java.lang.Object
-
- ai.extend.types.WorkflowRunCancelledWebhookEvent.Builder
-
- All Implemented Interfaces:
WorkflowRunCancelledWebhookEvent._FinalStage,WorkflowRunCancelledWebhookEvent.EventIdStage,WorkflowRunCancelledWebhookEvent.PayloadStage
- Enclosing class:
- WorkflowRunCancelledWebhookEvent
public static final class WorkflowRunCancelledWebhookEvent.Builder extends java.lang.Object implements WorkflowRunCancelledWebhookEvent.EventIdStage, WorkflowRunCancelledWebhookEvent.PayloadStage, WorkflowRunCancelledWebhookEvent._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowRunCancelledWebhookEventbuild()WorkflowRunCancelledWebhookEvent.PayloadStageeventId(java.lang.String eventId)Unique identifier for the eventWorkflowRunCancelledWebhookEvent.Builderfrom(WorkflowRunCancelledWebhookEvent other)WorkflowRunCancelledWebhookEvent._FinalStagepayload(WorkflowRun payload)
-
-
-
Method Detail
-
from
public WorkflowRunCancelledWebhookEvent.Builder from(WorkflowRunCancelledWebhookEvent other)
- Specified by:
fromin interfaceWorkflowRunCancelledWebhookEvent.EventIdStage
-
eventId
public WorkflowRunCancelledWebhookEvent.PayloadStage eventId(@NotNull java.lang.String eventId)
Unique identifier for the event
Unique identifier for the event
- Specified by:
eventIdin interfaceWorkflowRunCancelledWebhookEvent.EventIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
payload
public WorkflowRunCancelledWebhookEvent._FinalStage payload(@NotNull WorkflowRun payload)
- Specified by:
payloadin interfaceWorkflowRunCancelledWebhookEvent.PayloadStage
-
build
public WorkflowRunCancelledWebhookEvent build()
- Specified by:
buildin interfaceWorkflowRunCancelledWebhookEvent._FinalStage
-
-