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