public static interface ExpenseField.Builder extends SdkPojo, CopyableBuilder<ExpenseField.Builder,ExpenseField>
| Modifier and Type | Method and Description |
|---|---|
default ExpenseField.Builder |
labelDetection(Consumer<ExpenseDetection.Builder> labelDetection)
The explicitly stated label of a detected element.
|
ExpenseField.Builder |
labelDetection(ExpenseDetection labelDetection)
The explicitly stated label of a detected element.
|
ExpenseField.Builder |
pageNumber(Integer pageNumber)
The page number the value was detected on.
|
default ExpenseField.Builder |
type(Consumer<ExpenseType.Builder> type)
The implied label of a detected element.
|
ExpenseField.Builder |
type(ExpenseType type)
The implied label of a detected element.
|
default ExpenseField.Builder |
valueDetection(Consumer<ExpenseDetection.Builder> valueDetection)
The value of a detected element.
|
ExpenseField.Builder |
valueDetection(ExpenseDetection valueDetection)
The value of a detected element.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExpenseField.Builder type(ExpenseType type)
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
type - The implied label of a detected element. Present alongside LabelDetection for explicit elements.default ExpenseField.Builder type(Consumer<ExpenseType.Builder> type)
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
This is a convenience method that creates an instance of theExpenseType.Builder avoiding the need to
create one manually via ExpenseType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to type(ExpenseType).type - a consumer that will call methods on ExpenseType.Buildertype(ExpenseType)ExpenseField.Builder labelDetection(ExpenseDetection labelDetection)
The explicitly stated label of a detected element.
labelDetection - The explicitly stated label of a detected element.default ExpenseField.Builder labelDetection(Consumer<ExpenseDetection.Builder> labelDetection)
The explicitly stated label of a detected element.
This is a convenience method that creates an instance of theExpenseDetection.Builder avoiding the
need to create one manually via ExpenseDetection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to labelDetection(ExpenseDetection).labelDetection - a consumer that will call methods on ExpenseDetection.BuilderlabelDetection(ExpenseDetection)ExpenseField.Builder valueDetection(ExpenseDetection valueDetection)
The value of a detected element. Present in explicit and implicit elements.
valueDetection - The value of a detected element. Present in explicit and implicit elements.default ExpenseField.Builder valueDetection(Consumer<ExpenseDetection.Builder> valueDetection)
The value of a detected element. Present in explicit and implicit elements.
This is a convenience method that creates an instance of theExpenseDetection.Builder avoiding the
need to create one manually via ExpenseDetection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to valueDetection(ExpenseDetection).valueDetection - a consumer that will call methods on ExpenseDetection.BuildervalueDetection(ExpenseDetection)ExpenseField.Builder pageNumber(Integer pageNumber)
The page number the value was detected on.
pageNumber - The page number the value was detected on.Copyright © 2022. All rights reserved.