Class Project.Builder
java.lang.Object
com.langfuse.client.resources.projects.types.Project.Builder
- All Implemented Interfaces:
Project._FinalStage,Project.IdStage,Project.NameStage,Project.OrganizationStage
- Enclosing class:
Project
public static final class Project.Builder
extends Object
implements Project.IdStage, Project.NameStage, Project.OrganizationStage, Project._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()Metadata for the projectMetadata for the projectorganization(Organization organization) The organization this project belongs toputAllMetadata(Map<String, Object> metadata) Metadata for the projectretentionDays(Integer retentionDays) Number of days to retain data.retentionDays(Optional<Integer> retentionDays) Number of days to retain data.
-
Method Details
-
from
- Specified by:
fromin interfaceProject.IdStage
-
id
- Specified by:
idin interfaceProject.IdStage
-
name
- Specified by:
namein interfaceProject.NameStage
-
organization
The organization this project belongs to
The organization this project belongs to
- Specified by:
organizationin interfaceProject.OrganizationStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
retentionDays
Number of days to retain data. Null or 0 means no retention. Omitted if no retention is configured.
- Specified by:
retentionDaysin interfaceProject._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
retentionDays
Number of days to retain data. Null or 0 means no retention. Omitted if no retention is configured.
- Specified by:
retentionDaysin interfaceProject._FinalStage
-
metadata
Metadata for the project
- Specified by:
metadatain interfaceProject._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
putAllMetadata
Metadata for the project
- Specified by:
putAllMetadatain interfaceProject._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
Metadata for the project
- Specified by:
metadatain interfaceProject._FinalStage
-
build
- Specified by:
buildin interfaceProject._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceProject._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceProject._FinalStage
-