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