Interface LendingResult.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LendingResult.Builder,LendingResult>
,SdkBuilder<LendingResult.Builder,LendingResult>
,SdkPojo
- Enclosing class:
- LendingResult
public static interface LendingResult.Builder extends SdkPojo, CopyableBuilder<LendingResult.Builder,LendingResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LendingResult.Builder
extractions(Collection<Extraction> extractions)
An array of Extraction to hold structured data.LendingResult.Builder
extractions(Consumer<Extraction.Builder>... extractions)
An array of Extraction to hold structured data.LendingResult.Builder
extractions(Extraction... extractions)
An array of Extraction to hold structured data.LendingResult.Builder
page(Integer page)
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.LendingResult.Builder
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 Detail
-
page
LendingResult.Builder page(Integer 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
LendingResult.Builder pageClassification(PageClassification 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:
pageClassification(PageClassification)
-
extractions
LendingResult.Builder extractions(Collection<Extraction> 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
LendingResult.Builder extractions(Extraction... 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
LendingResult.Builder extractions(Consumer<Extraction.Builder>... 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 to#extractions(List
.) - 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:
#extractions(java.util.Collection
)
-
-