Package com.oracle.bmc.aidocument.model
Class Page.Builder
- java.lang.Object
-
- com.oracle.bmc.aidocument.model.Page.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page.BuilderbarCodes(List<BarCode> barCodes)The bar codes detected on the page.Pagebuild()Page.Buildercopy(Page model)Page.BuilderdetectedDocumentTypes(List<DetectedDocumentType> detectedDocumentTypes)An array of detected document types.Page.BuilderdetectedLanguages(List<DetectedLanguage> detectedLanguages)An array of detected languages.Page.Builderdimensions(Dimensions dimensions)Page.BuilderdocumentFields(List<DocumentField> documentFields)The form fields detected on the page.Page.Builderlines(List<Line> lines)The lines of text detected on the page.Page.BuilderpageNumber(Integer pageNumber)The document page number.Page.BuilderselectionMarks(List<SelectionMark> selectionMarks)The checkboxes and selection marks detected on the page.Page.Buildersignatures(List<Signature> signatures)The signatures detected on the page.Page.Buildertables(List<Table> tables)The tables detected on the page.Page.Builderwords(List<Word> words)The words detected on the page.
-
-
-
Method Detail
-
pageNumber
public Page.Builder pageNumber(Integer pageNumber)
The document page number.- Parameters:
pageNumber- the value to set- Returns:
- this builder
-
dimensions
public Page.Builder dimensions(Dimensions dimensions)
-
detectedDocumentTypes
public Page.Builder detectedDocumentTypes(List<DetectedDocumentType> detectedDocumentTypes)
An array of detected document types.- Parameters:
detectedDocumentTypes- the value to set- Returns:
- this builder
-
detectedLanguages
public Page.Builder detectedLanguages(List<DetectedLanguage> detectedLanguages)
An array of detected languages.- Parameters:
detectedLanguages- the value to set- Returns:
- this builder
-
words
public Page.Builder words(List<Word> words)
The words detected on the page.- Parameters:
words- the value to set- Returns:
- this builder
-
lines
public Page.Builder lines(List<Line> lines)
The lines of text detected on the page.- Parameters:
lines- the value to set- Returns:
- this builder
-
tables
public Page.Builder tables(List<Table> tables)
The tables detected on the page.- Parameters:
tables- the value to set- Returns:
- this builder
-
documentFields
public Page.Builder documentFields(List<DocumentField> documentFields)
The form fields detected on the page.- Parameters:
documentFields- the value to set- Returns:
- this builder
-
signatures
public Page.Builder signatures(List<Signature> signatures)
The signatures detected on the page.- Parameters:
signatures- the value to set- Returns:
- this builder
-
barCodes
public Page.Builder barCodes(List<BarCode> barCodes)
The bar codes detected on the page.- Parameters:
barCodes- the value to set- Returns:
- this builder
-
selectionMarks
public Page.Builder selectionMarks(List<SelectionMark> selectionMarks)
The checkboxes and selection marks detected on the page.- Parameters:
selectionMarks- the value to set- Returns:
- this builder
-
build
public Page build()
-
copy
public Page.Builder copy(Page model)
-
-