Interface AnalyzeExpenseResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AnalyzeExpenseResponse.Builder,AnalyzeExpenseResponse>,SdkBuilder<AnalyzeExpenseResponse.Builder,AnalyzeExpenseResponse>,SdkPojo,SdkResponse.Builder,TextractResponse.Builder
- Enclosing class:
- AnalyzeExpenseResponse
public static interface AnalyzeExpenseResponse.Builder extends TextractResponse.Builder, SdkPojo, CopyableBuilder<AnalyzeExpenseResponse.Builder,AnalyzeExpenseResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AnalyzeExpenseResponse.BuilderdocumentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata)Sets the value of the DocumentMetadata property for this object.AnalyzeExpenseResponse.BuilderdocumentMetadata(DocumentMetadata documentMetadata)Sets the value of the DocumentMetadata property for this object.AnalyzeExpenseResponse.BuilderexpenseDocuments(Collection<ExpenseDocument> expenseDocuments)The expenses detected by Amazon Textract.AnalyzeExpenseResponse.BuilderexpenseDocuments(Consumer<ExpenseDocument.Builder>... expenseDocuments)The expenses detected by Amazon Textract.AnalyzeExpenseResponse.BuilderexpenseDocuments(ExpenseDocument... expenseDocuments)The expenses detected by Amazon Textract.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.textract.model.TextractResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
documentMetadata
AnalyzeExpenseResponse.Builder documentMetadata(DocumentMetadata documentMetadata)
Sets the value of the DocumentMetadata property for this object.- Parameters:
documentMetadata- The new value for the DocumentMetadata property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadata
default AnalyzeExpenseResponse.Builder documentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata)
Sets the value of the DocumentMetadata property for this object. This is a convenience method that creates an instance of theDocumentMetadata.Builderavoiding the need to create one manually viaDocumentMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentMetadata(DocumentMetadata).- Parameters:
documentMetadata- a consumer that will call methods onDocumentMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
documentMetadata(DocumentMetadata)
-
expenseDocuments
AnalyzeExpenseResponse.Builder expenseDocuments(Collection<ExpenseDocument> expenseDocuments)
The expenses detected by Amazon Textract.
- Parameters:
expenseDocuments- The expenses detected by Amazon Textract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expenseDocuments
AnalyzeExpenseResponse.Builder expenseDocuments(ExpenseDocument... expenseDocuments)
The expenses detected by Amazon Textract.
- Parameters:
expenseDocuments- The expenses detected by Amazon Textract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expenseDocuments
AnalyzeExpenseResponse.Builder expenseDocuments(Consumer<ExpenseDocument.Builder>... expenseDocuments)
The expenses detected by Amazon Textract.
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 to#expenseDocuments(List.) - Parameters:
expenseDocuments- 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:
#expenseDocuments(java.util.Collection)
-
-