Class EvaluationSetItemsUpdateRequest.Builder
- java.lang.Object
-
- ai.extend.resources.evaluationsetitems.requests.EvaluationSetItemsUpdateRequest.Builder
-
- All Implemented Interfaces:
EvaluationSetItemsUpdateRequest._FinalStage,EvaluationSetItemsUpdateRequest.ExpectedOutputStage
- Enclosing class:
- EvaluationSetItemsUpdateRequest
public static final class EvaluationSetItemsUpdateRequest.Builder extends java.lang.Object implements EvaluationSetItemsUpdateRequest.ExpectedOutputStage, EvaluationSetItemsUpdateRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationSetItemsUpdateRequestbuild()EvaluationSetItemsUpdateRequest._FinalStageexpectedOutput(ProvidedProcessorOutput expectedOutput)The expected output of the extractor, classifier, or splitter when run against the file.EvaluationSetItemsUpdateRequest._FinalStageextendWorkspaceId(java.lang.String extendWorkspaceId)The workspace ID to target.EvaluationSetItemsUpdateRequest._FinalStageextendWorkspaceId(java.util.Optional<java.lang.String> extendWorkspaceId)The workspace ID to target.EvaluationSetItemsUpdateRequest.Builderfrom(EvaluationSetItemsUpdateRequest other)
-
-
-
Method Detail
-
from
public EvaluationSetItemsUpdateRequest.Builder from(EvaluationSetItemsUpdateRequest other)
- Specified by:
fromin interfaceEvaluationSetItemsUpdateRequest.ExpectedOutputStage
-
expectedOutput
public EvaluationSetItemsUpdateRequest._FinalStage expectedOutput(@NotNull ProvidedProcessorOutput expectedOutput)
The expected output of the extractor, classifier, or splitter when run against the file. This must conform to the output schema of the entity associated with the evaluation set.
The expected output of the extractor, classifier, or splitter when run against the file. This must conform to the output schema of the entity associated with the evaluation set.
- Specified by:
expectedOutputin interfaceEvaluationSetItemsUpdateRequest.ExpectedOutputStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
extendWorkspaceId
public EvaluationSetItemsUpdateRequest._FinalStage extendWorkspaceId(java.lang.String extendWorkspaceId)
The workspace ID to target. Required when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See Authentication for details on API key scopes.
- Specified by:
extendWorkspaceIdin interfaceEvaluationSetItemsUpdateRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
extendWorkspaceId
public EvaluationSetItemsUpdateRequest._FinalStage extendWorkspaceId(java.util.Optional<java.lang.String> extendWorkspaceId)
The workspace ID to target. Required when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See Authentication for details on API key scopes.
- Specified by:
extendWorkspaceIdin interfaceEvaluationSetItemsUpdateRequest._FinalStage
-
build
public EvaluationSetItemsUpdateRequest build()
- Specified by:
buildin interfaceEvaluationSetItemsUpdateRequest._FinalStage
-
-