Interface LendingResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LendingResult.Builder,
,LendingResult> SdkBuilder<LendingResult.Builder,
,LendingResult> SdkPojo
- Enclosing class:
LendingResult
-
Method Summary
Modifier and TypeMethodDescriptionextractions
(Collection<Extraction> extractions) An array of Extraction to hold structured data.extractions
(Consumer<Extraction.Builder>... extractions) An array of Extraction to hold structured data.extractions
(Extraction... extractions) An array of Extraction to hold structured data.The page number for a page, with regard to whole submission.default LendingResult.Builder
pageClassification
(Consumer<PageClassification.Builder> pageClassification) The classifier result for a given page.pageClassification
(PageClassification pageClassification) The classifier result for a given page.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
page
The page number for a page, with regard to whole submission.
- Parameters:
page
- The page number for a page, with regard to whole submission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageClassification
The classifier result for a given page.
- Parameters:
pageClassification
- The classifier result for a given page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageClassification
default LendingResult.Builder pageClassification(Consumer<PageClassification.Builder> pageClassification) The classifier result for a given page.
This is a convenience method that creates an instance of thePageClassification.Builder
avoiding the need to create one manually viaPageClassification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topageClassification(PageClassification)
.- Parameters:
pageClassification
- a consumer that will call methods onPageClassification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
extractions
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
- Parameters:
extractions
- An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractions
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
- Parameters:
extractions
- An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractions
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
This is a convenience method that creates an instance of theExtraction.Builder
avoiding the need to create one manually viaExtraction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toextractions(List<Extraction>)
.- Parameters:
extractions
- a consumer that will call methods onExtraction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-