Package ai.extend.types
Class WebhookEventProcessorRun.Builder
- java.lang.Object
-
- ai.extend.types.WebhookEventProcessorRun.Builder
-
- All Implemented Interfaces:
WebhookEventProcessorRun._FinalStage,WebhookEventProcessorRun.EventIdStage
- Enclosing class:
- WebhookEventProcessorRun
public static final class WebhookEventProcessorRun.Builder extends java.lang.Object implements WebhookEventProcessorRun.EventIdStage, WebhookEventProcessorRun._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookEventProcessorRunbuild()WebhookEventProcessorRun._FinalStageeventId(java.lang.String eventId)Unique identifier for the eventWebhookEventProcessorRun._FinalStageeventType(WebhookEventProcessorRunEventType eventType)WebhookEventProcessorRun._FinalStageeventType(java.util.Optional<WebhookEventProcessorRunEventType> eventType)WebhookEventProcessorRun.Builderfrom(WebhookEventProcessorRun other)WebhookEventProcessorRun._FinalStagepayload(ProcessorRun payload)WebhookEventProcessorRun._FinalStagepayload(java.util.Optional<ProcessorRun> payload)
-
-
-
Method Detail
-
from
public WebhookEventProcessorRun.Builder from(WebhookEventProcessorRun other)
- Specified by:
fromin interfaceWebhookEventProcessorRun.EventIdStage
-
eventId
public WebhookEventProcessorRun._FinalStage eventId(@NotNull java.lang.String eventId)
Unique identifier for the event
Unique identifier for the event
- Specified by:
eventIdin interfaceWebhookEventProcessorRun.EventIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
payload
public WebhookEventProcessorRun._FinalStage payload(ProcessorRun payload)
- Specified by:
payloadin interfaceWebhookEventProcessorRun._FinalStage
-
payload
public WebhookEventProcessorRun._FinalStage payload(java.util.Optional<ProcessorRun> payload)
- Specified by:
payloadin interfaceWebhookEventProcessorRun._FinalStage
-
eventType
public WebhookEventProcessorRun._FinalStage eventType(WebhookEventProcessorRunEventType eventType)
- Specified by:
eventTypein interfaceWebhookEventProcessorRun._FinalStage
-
eventType
public WebhookEventProcessorRun._FinalStage eventType(java.util.Optional<WebhookEventProcessorRunEventType> eventType)
- Specified by:
eventTypein interfaceWebhookEventProcessorRun._FinalStage
-
build
public WebhookEventProcessorRun build()
- Specified by:
buildin interfaceWebhookEventProcessorRun._FinalStage
-
-