Package ai.extend.types
Class EvaluationSet.Builder
- java.lang.Object
-
- ai.extend.types.EvaluationSet.Builder
-
- All Implemented Interfaces:
EvaluationSet._FinalStage,EvaluationSet.CreatedAtStage,EvaluationSet.DescriptionStage,EvaluationSet.EntityStage,EvaluationSet.IdStage,EvaluationSet.NameStage,EvaluationSet.UpdatedAtStage
- Enclosing class:
- EvaluationSet
public static final class EvaluationSet.Builder extends java.lang.Object implements EvaluationSet.IdStage, EvaluationSet.NameStage, EvaluationSet.DescriptionStage, EvaluationSet.EntityStage, EvaluationSet.CreatedAtStage, EvaluationSet.UpdatedAtStage, EvaluationSet._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationSetbuild()EvaluationSet.UpdatedAtStagecreatedAt(java.time.OffsetDateTime createdAt)EvaluationSet._FinalStagecreatedBy(Nullable<CreatedBy> createdBy)EvaluationSet._FinalStagecreatedBy(CreatedBy createdBy)EvaluationSet._FinalStagecreatedBy(java.util.Optional<CreatedBy> createdBy)EvaluationSet.EntityStagedescription(java.lang.String description)A description of the evaluation set.EvaluationSet.CreatedAtStageentity(EvaluationSetEntity entity)The extractor, classifier, or splitter associated with this evaluation set.EvaluationSet.Builderfrom(EvaluationSet other)EvaluationSet.NameStageid(java.lang.String id)The ID of the evaluation set.EvaluationSet.DescriptionStagename(java.lang.String name)The name of the evaluation set.EvaluationSet._FinalStageupdatedAt(java.time.OffsetDateTime updatedAt)
-
-
-
Method Detail
-
from
public EvaluationSet.Builder from(EvaluationSet other)
- Specified by:
fromin interfaceEvaluationSet.IdStage
-
id
public EvaluationSet.NameStage id(@NotNull java.lang.String id)
The ID of the evaluation set.
Example:
"ev_2LcgeY_mp2T5yPaEuq5Lw"The ID of the evaluation set.
Example:
"ev_2LcgeY_mp2T5yPaEuq5Lw"- Specified by:
idin interfaceEvaluationSet.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public EvaluationSet.DescriptionStage name(@NotNull java.lang.String name)
The name of the evaluation set.
Example:
"Invoice Processing Test Set"The name of the evaluation set.
Example:
"Invoice Processing Test Set"- Specified by:
namein interfaceEvaluationSet.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public EvaluationSet.EntityStage description(@NotNull java.lang.String description)
A description of the evaluation set.
Example:
"Q4 2023 vendor invoices for accuracy testing"A description of the evaluation set.
Example:
"Q4 2023 vendor invoices for accuracy testing"- Specified by:
descriptionin interfaceEvaluationSet.DescriptionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
entity
public EvaluationSet.CreatedAtStage entity(@NotNull EvaluationSetEntity entity)
The extractor, classifier, or splitter associated with this evaluation set.
The extractor, classifier, or splitter associated with this evaluation set.
- Specified by:
entityin interfaceEvaluationSet.EntityStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public EvaluationSet.UpdatedAtStage createdAt(@NotNull java.time.OffsetDateTime createdAt)
- Specified by:
createdAtin interfaceEvaluationSet.CreatedAtStage
-
updatedAt
public EvaluationSet._FinalStage updatedAt(@NotNull java.time.OffsetDateTime updatedAt)
- Specified by:
updatedAtin interfaceEvaluationSet.UpdatedAtStage
-
createdBy
public EvaluationSet._FinalStage createdBy(Nullable<CreatedBy> createdBy)
- Specified by:
createdByin interfaceEvaluationSet._FinalStage
-
createdBy
public EvaluationSet._FinalStage createdBy(CreatedBy createdBy)
- Specified by:
createdByin interfaceEvaluationSet._FinalStage
-
createdBy
public EvaluationSet._FinalStage createdBy(java.util.Optional<CreatedBy> createdBy)
- Specified by:
createdByin interfaceEvaluationSet._FinalStage
-
build
public EvaluationSet build()
- Specified by:
buildin interfaceEvaluationSet._FinalStage
-
-