Class EvaluationSetItemCreateBatchRequest.Builder
- java.lang.Object
-
- ai.extend.resources.evaluationsetitem.requests.EvaluationSetItemCreateBatchRequest.Builder
-
- All Implemented Interfaces:
EvaluationSetItemCreateBatchRequest._FinalStage,EvaluationSetItemCreateBatchRequest.EvaluationSetIdStage
- Enclosing class:
- EvaluationSetItemCreateBatchRequest
public static final class EvaluationSetItemCreateBatchRequest.Builder extends java.lang.Object implements EvaluationSetItemCreateBatchRequest.EvaluationSetIdStage, EvaluationSetItemCreateBatchRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationSetItemCreateBatchRequest._FinalStageaddAllItems(java.util.List<EvaluationSetItemCreateBatchRequestItemsItem> items)An array of objects representing the evaluation set items to createEvaluationSetItemCreateBatchRequest._FinalStageaddItems(EvaluationSetItemCreateBatchRequestItemsItem items)An array of objects representing the evaluation set items to createEvaluationSetItemCreateBatchRequestbuild()EvaluationSetItemCreateBatchRequest._FinalStageevaluationSetId(java.lang.String evaluationSetId)The ID of the evaluation set to add the items to.EvaluationSetItemCreateBatchRequest.Builderfrom(EvaluationSetItemCreateBatchRequest other)EvaluationSetItemCreateBatchRequest._FinalStageitems(java.util.List<EvaluationSetItemCreateBatchRequestItemsItem> items)An array of objects representing the evaluation set items to create
-
-
-
Method Detail
-
from
public EvaluationSetItemCreateBatchRequest.Builder from(EvaluationSetItemCreateBatchRequest other)
- Specified by:
fromin interfaceEvaluationSetItemCreateBatchRequest.EvaluationSetIdStage
-
evaluationSetId
public EvaluationSetItemCreateBatchRequest._FinalStage evaluationSetId(@NotNull java.lang.String evaluationSetId)
The ID of the evaluation set to add the items to.
Example:
"ev_2LcgeY_mp2T5yPaEuq5Lw"The ID of the evaluation set to add the items to.
Example:
"ev_2LcgeY_mp2T5yPaEuq5Lw"- Specified by:
evaluationSetIdin interfaceEvaluationSetItemCreateBatchRequest.EvaluationSetIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllItems
public EvaluationSetItemCreateBatchRequest._FinalStage addAllItems(java.util.List<EvaluationSetItemCreateBatchRequestItemsItem> items)
An array of objects representing the evaluation set items to create
- Specified by:
addAllItemsin interfaceEvaluationSetItemCreateBatchRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addItems
public EvaluationSetItemCreateBatchRequest._FinalStage addItems(EvaluationSetItemCreateBatchRequestItemsItem items)
An array of objects representing the evaluation set items to create
- Specified by:
addItemsin interfaceEvaluationSetItemCreateBatchRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
items
public EvaluationSetItemCreateBatchRequest._FinalStage items(java.util.List<EvaluationSetItemCreateBatchRequestItemsItem> items)
An array of objects representing the evaluation set items to create
- Specified by:
itemsin interfaceEvaluationSetItemCreateBatchRequest._FinalStage
-
build
public EvaluationSetItemCreateBatchRequest build()
- Specified by:
buildin interfaceEvaluationSetItemCreateBatchRequest._FinalStage
-
-