Class EvaluationSetItemsCreateRequestItemsItem.Builder
- java.lang.Object
-
- ai.extend.resources.evaluationsetitems.types.EvaluationSetItemsCreateRequestItemsItem.Builder
-
- All Implemented Interfaces:
EvaluationSetItemsCreateRequestItemsItem._FinalStage,EvaluationSetItemsCreateRequestItemsItem.ExpectedOutputStage,EvaluationSetItemsCreateRequestItemsItem.FileIdStage
- Enclosing class:
- EvaluationSetItemsCreateRequestItemsItem
public static final class EvaluationSetItemsCreateRequestItemsItem.Builder extends java.lang.Object implements EvaluationSetItemsCreateRequestItemsItem.FileIdStage, EvaluationSetItemsCreateRequestItemsItem.ExpectedOutputStage, EvaluationSetItemsCreateRequestItemsItem._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationSetItemsCreateRequestItemsItembuild()EvaluationSetItemsCreateRequestItemsItem._FinalStageexpectedOutput(ProvidedProcessorOutput expectedOutput)The expected output that will be compared to the actual output of the extractor, classifier, or splitter when run against the file.EvaluationSetItemsCreateRequestItemsItem.ExpectedOutputStagefileId(java.lang.String fileId)Extend's internal ID for the file.EvaluationSetItemsCreateRequestItemsItem.Builderfrom(EvaluationSetItemsCreateRequestItemsItem other)
-
-
-
Method Detail
-
from
public EvaluationSetItemsCreateRequestItemsItem.Builder from(EvaluationSetItemsCreateRequestItemsItem other)
- Specified by:
fromin interfaceEvaluationSetItemsCreateRequestItemsItem.FileIdStage
-
fileId
public EvaluationSetItemsCreateRequestItemsItem.ExpectedOutputStage fileId(@NotNull java.lang.String fileId)
Extend's internal ID for the file. It will always start with "file_".
Example:
"file_xK9mLPqRtN3vS8wF5hB2cQ"Extend's internal ID for the file. It will always start with "file_".
Example:
"file_xK9mLPqRtN3vS8wF5hB2cQ"- Specified by:
fileIdin interfaceEvaluationSetItemsCreateRequestItemsItem.FileIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
expectedOutput
public EvaluationSetItemsCreateRequestItemsItem._FinalStage expectedOutput(@NotNull ProvidedProcessorOutput expectedOutput)
The expected output that will be compared to the actual output of the extractor, classifier, or splitter when run against the file.
The expected output that will be compared to the actual output of the extractor, classifier, or splitter when run against the file.
- Specified by:
expectedOutputin interfaceEvaluationSetItemsCreateRequestItemsItem.ExpectedOutputStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public EvaluationSetItemsCreateRequestItemsItem build()
- Specified by:
buildin interfaceEvaluationSetItemsCreateRequestItemsItem._FinalStage
-
-