Interface Extraction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Extraction.Builder,
,Extraction> SdkBuilder<Extraction.Builder,
,Extraction> SdkPojo
- Enclosing class:
Extraction
public static interface Extraction.Builder
extends SdkPojo, CopyableBuilder<Extraction.Builder,Extraction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Extraction.Builder
expenseDocument
(Consumer<ExpenseDocument.Builder> expenseDocument) Sets the value of the ExpenseDocument property for this object.expenseDocument
(ExpenseDocument expenseDocument) Sets the value of the ExpenseDocument property for this object.default Extraction.Builder
identityDocument
(Consumer<IdentityDocument.Builder> identityDocument) Sets the value of the IdentityDocument property for this object.identityDocument
(IdentityDocument identityDocument) Sets the value of the IdentityDocument property for this object.default Extraction.Builder
lendingDocument
(Consumer<LendingDocument.Builder> lendingDocument) Holds the structured data returned by AnalyzeDocument for lending documents.lendingDocument
(LendingDocument lendingDocument) Holds the structured data returned by AnalyzeDocument for lending documents.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
-
lendingDocument
Holds the structured data returned by AnalyzeDocument for lending documents.
- Parameters:
lendingDocument
- Holds the structured data returned by AnalyzeDocument for lending documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lendingDocument
Holds the structured data returned by AnalyzeDocument for lending documents.
This is a convenience method that creates an instance of theLendingDocument.Builder
avoiding the need to create one manually viaLendingDocument.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolendingDocument(LendingDocument)
.- Parameters:
lendingDocument
- a consumer that will call methods onLendingDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expenseDocument
Sets the value of the ExpenseDocument property for this object.- Parameters:
expenseDocument
- The new value for the ExpenseDocument property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expenseDocument
Sets the value of the ExpenseDocument property for this object. This is a convenience method that creates an instance of theExpenseDocument.Builder
avoiding the need to create one manually viaExpenseDocument.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexpenseDocument(ExpenseDocument)
.- Parameters:
expenseDocument
- a consumer that will call methods onExpenseDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityDocument
Sets the value of the IdentityDocument property for this object.- Parameters:
identityDocument
- The new value for the IdentityDocument property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityDocument
Sets the value of the IdentityDocument property for this object. This is a convenience method that creates an instance of theIdentityDocument.Builder
avoiding the need to create one manually viaIdentityDocument.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentityDocument(IdentityDocument)
.- Parameters:
identityDocument
- a consumer that will call methods onIdentityDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-