Class BaseEvent.Builder
java.lang.Object
com.langfuse.client.resources.ingestion.types.BaseEvent.Builder
- All Implemented Interfaces:
BaseEvent._FinalStage,BaseEvent.IdStage,BaseEvent.TimestampStage
- Enclosing class:
BaseEvent
public static final class BaseEvent.Builder
extends Object
implements BaseEvent.IdStage, BaseEvent.TimestampStage, BaseEvent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()UUID v4 that identifies the eventOptional.Optional.Datetime (ISO 8601) of event creation in client.
-
Method Details
-
from
- Specified by:
fromin interfaceBaseEvent.IdStage
-
id
UUID v4 that identifies the event
UUID v4 that identifies the event
- Specified by:
idin interfaceBaseEvent.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
timestamp
Datetime (ISO 8601) of event creation in client. Should be as close to actual event creation in client as possible, this timestamp will be used for ordering of events in future release. Resolution: milliseconds (required), microseconds (optimal).
Datetime (ISO 8601) of event creation in client. Should be as close to actual event creation in client as possible, this timestamp will be used for ordering of events in future release. Resolution: milliseconds (required), microseconds (optimal).
- Specified by:
timestampin interfaceBaseEvent.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
Optional. Metadata field used by the Langfuse SDKs for debugging.
- Specified by:
metadatain interfaceBaseEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
Optional. Metadata field used by the Langfuse SDKs for debugging.
- Specified by:
metadatain interfaceBaseEvent._FinalStage
-
build
- Specified by:
buildin interfaceBaseEvent._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceBaseEvent._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceBaseEvent._FinalStage
-