Class SessionWithTraces.Builder
java.lang.Object
com.langfuse.client.resources.commons.types.SessionWithTraces.Builder
- All Implemented Interfaces:
SessionWithTraces._FinalStage,SessionWithTraces.CreatedAtStage,SessionWithTraces.EnvironmentStage,SessionWithTraces.IdStage,SessionWithTraces.ProjectIdStage
- Enclosing class:
SessionWithTraces
public static final class SessionWithTraces.Builder
extends Object
implements SessionWithTraces.IdStage, SessionWithTraces.CreatedAtStage, SessionWithTraces.ProjectIdStage, SessionWithTraces.EnvironmentStage, SessionWithTraces._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTraces(List<Trace> traces) additionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()createdAt(OffsetDateTime createdAt) environment(String environment) The environment from which this session originated.from(SessionWithTraces other)
-
Method Details
-
from
- Specified by:
fromin interfaceSessionWithTraces.IdStage
-
id
- Specified by:
idin interfaceSessionWithTraces.IdStage
-
createdAt
- Specified by:
createdAtin interfaceSessionWithTraces.CreatedAtStage
-
projectId
- Specified by:
projectIdin interfaceSessionWithTraces.ProjectIdStage
-
environment
The environment from which this session originated.
The environment from which this session originated.
- Specified by:
environmentin interfaceSessionWithTraces.EnvironmentStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllTraces
- Specified by:
addAllTracesin interfaceSessionWithTraces._FinalStage
-
addTraces
- Specified by:
addTracesin interfaceSessionWithTraces._FinalStage
-
traces
- Specified by:
tracesin interfaceSessionWithTraces._FinalStage
-
build
- Specified by:
buildin interfaceSessionWithTraces._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceSessionWithTraces._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceSessionWithTraces._FinalStage
-