Class EvaluationSetItemCreateBatchRequestItemsItem.Builder
- java.lang.Object
-
- ai.extend.resources.evaluationsetitem.types.EvaluationSetItemCreateBatchRequestItemsItem.Builder
-
- All Implemented Interfaces:
EvaluationSetItemCreateBatchRequestItemsItem._FinalStage,EvaluationSetItemCreateBatchRequestItemsItem.ExpectedOutputStage,EvaluationSetItemCreateBatchRequestItemsItem.FileIdStage
- Enclosing class:
- EvaluationSetItemCreateBatchRequestItemsItem
public static final class EvaluationSetItemCreateBatchRequestItemsItem.Builder extends java.lang.Object implements EvaluationSetItemCreateBatchRequestItemsItem.FileIdStage, EvaluationSetItemCreateBatchRequestItemsItem.ExpectedOutputStage, EvaluationSetItemCreateBatchRequestItemsItem._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationSetItemCreateBatchRequestItemsItembuild()EvaluationSetItemCreateBatchRequestItemsItem._FinalStageexpectedOutput(ProvidedProcessorOutput expectedOutput)The expected output of the processor when run against the fileEvaluationSetItemCreateBatchRequestItemsItem.ExpectedOutputStagefileId(java.lang.String fileId)Extend's internal ID for the file.EvaluationSetItemCreateBatchRequestItemsItem.Builderfrom(EvaluationSetItemCreateBatchRequestItemsItem other)
-
-
-
Method Detail
-
from
public EvaluationSetItemCreateBatchRequestItemsItem.Builder from(EvaluationSetItemCreateBatchRequestItemsItem other)
- Specified by:
fromin interfaceEvaluationSetItemCreateBatchRequestItemsItem.FileIdStage
-
fileId
public EvaluationSetItemCreateBatchRequestItemsItem.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 interfaceEvaluationSetItemCreateBatchRequestItemsItem.FileIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
expectedOutput
public EvaluationSetItemCreateBatchRequestItemsItem._FinalStage expectedOutput(@NotNull ProvidedProcessorOutput expectedOutput)
The expected output of the processor when run against the file
The expected output of the processor when run against the file
- Specified by:
expectedOutputin interfaceEvaluationSetItemCreateBatchRequestItemsItem.ExpectedOutputStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public EvaluationSetItemCreateBatchRequestItemsItem build()
- Specified by:
buildin interfaceEvaluationSetItemCreateBatchRequestItemsItem._FinalStage
-
-