Class TraceEvent.Builder
java.lang.Object
com.langfuse.client.resources.ingestion.types.TraceEvent.Builder
- All Implemented Interfaces:
TraceEvent._FinalStage,TraceEvent.BodyStage,TraceEvent.IdStage,TraceEvent.TimestampStage
- Enclosing class:
TraceEvent
public static final class TraceEvent.Builder
extends Object
implements TraceEvent.IdStage, TraceEvent.TimestampStage, TraceEvent.BodyStage, TraceEvent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()from(TraceEvent other) UUID v4 that identifies the eventOptional.Optional.Datetime (ISO 8601) of event creation in client.
-
Method Details
-
from
- Specified by:
fromin interfaceTraceEvent.IdStage
-
id
UUID v4 that identifies the event
UUID v4 that identifies the event
- Specified by:
idin interfaceTraceEvent.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 interfaceTraceEvent.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
- Specified by:
bodyin interfaceTraceEvent.BodyStage
-
metadata
Optional. Metadata field used by the Langfuse SDKs for debugging.
- Specified by:
metadatain interfaceTraceEvent._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 interfaceTraceEvent._FinalStage
-
build
- Specified by:
buildin interfaceTraceEvent._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceTraceEvent._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceTraceEvent._FinalStage
-