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