Package ai.extend.types
Class ExtractionFieldResultReference.Builder
- java.lang.Object
-
- ai.extend.types.ExtractionFieldResultReference.Builder
-
- All Implemented Interfaces:
ExtractionFieldResultReference._FinalStage,ExtractionFieldResultReference.FieldNameStage,ExtractionFieldResultReference.IdStage,ExtractionFieldResultReference.PageStage
- Enclosing class:
- ExtractionFieldResultReference
public static final class ExtractionFieldResultReference.Builder extends java.lang.Object implements ExtractionFieldResultReference.IdStage, ExtractionFieldResultReference.FieldNameStage, ExtractionFieldResultReference.PageStage, ExtractionFieldResultReference._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public ExtractionFieldResultReference.Builder from(ExtractionFieldResultReference other)
- Specified by:
fromin interfaceExtractionFieldResultReference.IdStage
-
id
public ExtractionFieldResultReference.FieldNameStage id(@NotNull java.lang.String id)
The unique identifier for this field
The unique identifier for this field
- Specified by:
idin interfaceExtractionFieldResultReference.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
fieldName
public ExtractionFieldResultReference.PageStage fieldName(@NotNull java.lang.String fieldName)
The name of the extracted field
The name of the extracted field
- Specified by:
fieldNamein interfaceExtractionFieldResultReference.FieldNameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
page
public ExtractionFieldResultReference._FinalStage page(double page)
The page number that this bounding box is from
The page number that this bounding box is from
- Specified by:
pagein interfaceExtractionFieldResultReference.PageStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllBoundingBoxes
public ExtractionFieldResultReference._FinalStage addAllBoundingBoxes(java.util.List<ExtractionFieldResultReferenceBoundingBoxesItem> boundingBoxes)
The bounding boxes of the field
- Specified by:
addAllBoundingBoxesin interfaceExtractionFieldResultReference._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addBoundingBoxes
public ExtractionFieldResultReference._FinalStage addBoundingBoxes(ExtractionFieldResultReferenceBoundingBoxesItem boundingBoxes)
The bounding boxes of the field
- Specified by:
addBoundingBoxesin interfaceExtractionFieldResultReference._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
boundingBoxes
public ExtractionFieldResultReference._FinalStage boundingBoxes(java.util.List<ExtractionFieldResultReferenceBoundingBoxesItem> boundingBoxes)
The bounding boxes of the field
- Specified by:
boundingBoxesin interfaceExtractionFieldResultReference._FinalStage
-
build
public ExtractionFieldResultReference build()
- Specified by:
buildin interfaceExtractionFieldResultReference._FinalStage
-
-