Interface ExpenseField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExpenseField.Builder,
,ExpenseField> SdkBuilder<ExpenseField.Builder,
,ExpenseField> SdkPojo
- Enclosing class:
ExpenseField
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExpenseField.Builder
currency
(Consumer<ExpenseCurrency.Builder> currency) Shows the kind of currency, both the code and confidence associated with any monatary value detected.currency
(ExpenseCurrency currency) Shows the kind of currency, both the code and confidence associated with any monatary value detected.groupProperties
(Collection<ExpenseGroupProperty> groupProperties) Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.groupProperties
(Consumer<ExpenseGroupProperty.Builder>... groupProperties) Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.groupProperties
(ExpenseGroupProperty... groupProperties) Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.default ExpenseField.Builder
labelDetection
(Consumer<ExpenseDetection.Builder> labelDetection) The explicitly stated label of a detected element.labelDetection
(ExpenseDetection labelDetection) The explicitly stated label of a detected element.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.type
(ExpenseType type) The implied label of a detected element.default ExpenseField.Builder
valueDetection
(Consumer<ExpenseDetection.Builder> valueDetection) The value of a detected element.valueDetection
(ExpenseDetection valueDetection) The value of a detected element.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
-
type
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
- Parameters:
type
- The implied label of a detected element. Present alongside LabelDetection for explicit elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaExpenseType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totype(ExpenseType)
.- Parameters:
type
- a consumer that will call methods onExpenseType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
labelDetection
The explicitly stated label of a detected element.
- Parameters:
labelDetection
- The explicitly stated label of a detected element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaExpenseDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolabelDetection(ExpenseDetection)
.- Parameters:
labelDetection
- a consumer that will call methods onExpenseDetection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
valueDetection
The value of a detected element. Present in explicit and implicit elements.
- Parameters:
valueDetection
- The value of a detected element. Present in explicit and implicit elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaExpenseDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalueDetection(ExpenseDetection)
.- Parameters:
valueDetection
- a consumer that will call methods onExpenseDetection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pageNumber
The page number the value was detected on.
- Parameters:
pageNumber
- The page number the value was detected on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
- Parameters:
currency
- Shows the kind of currency, both the code and confidence associated with any monatary value detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
This is a convenience method that creates an instance of theExpenseCurrency.Builder
avoiding the need to create one manually viaExpenseCurrency.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrency(ExpenseCurrency)
.- Parameters:
currency
- a consumer that will call methods onExpenseCurrency.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupProperties
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
- Parameters:
groupProperties
- Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupProperties
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
- Parameters:
groupProperties
- Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupProperties
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
This is a convenience method that creates an instance of theExpenseGroupProperty.Builder
avoiding the need to create one manually viaExpenseGroupProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupProperties(List<ExpenseGroupProperty>)
.- Parameters:
groupProperties
- a consumer that will call methods onExpenseGroupProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-