Interface ExpenseField.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExpenseField.Builder,,ExpenseField> SdkBuilder<ExpenseField.Builder,,ExpenseField> SdkPojo
- Enclosing class:
ExpenseField
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExpenseField.Buildercurrency(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.BuilderlabelDetection(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.Buildertype(Consumer<ExpenseType.Builder> type) The implied label of a detected element.type(ExpenseType type) The implied label of a detected element.default ExpenseField.BuildervalueDetection(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaExpenseType.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaExpenseDetection.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaExpenseDetection.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaExpenseCurrency.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaExpenseGroupProperty.builder().When the
Consumercompletes,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:
-