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.BuilderexpenseDocument(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.BuilderidentityDocument(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.BuilderlendingDocument(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaLendingDocument.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaExpenseDocument.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaIdentityDocument.builder().When the
Consumercompletes,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:
-