Interface GetLendingAnalysisResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLendingAnalysisResponse.Builder,
,GetLendingAnalysisResponse> SdkBuilder<GetLendingAnalysisResponse.Builder,
,GetLendingAnalysisResponse> SdkPojo
,SdkResponse.Builder
,TextractResponse.Builder
- Enclosing class:
GetLendingAnalysisResponse
-
Method Summary
Modifier and TypeMethodDescriptionanalyzeLendingModelVersion
(String analyzeLendingModelVersion) The current model version of the Analyze Lending API.documentMetadata
(Consumer<DocumentMetadata.Builder> documentMetadata) Sets the value of the DocumentMetadata property for this object.documentMetadata
(DocumentMetadata documentMetadata) Sets the value of the DocumentMetadata property for this object.The current status of the lending analysis job.The current status of the lending analysis job.If the response is truncated, Amazon Textract returns this token.results
(Collection<LendingResult> results) Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.results
(Consumer<LendingResult.Builder>... results) Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.results
(LendingResult... results) Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.statusMessage
(String statusMessage) Returns if the lending analysis job could not be completed.warnings
(Collection<Warning> warnings) A list of warnings that occurred during the lending analysis operation.warnings
(Consumer<Warning.Builder>... warnings) A list of warnings that occurred during the lending analysis operation.A list of warnings that occurred during the lending analysis operation.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 Details
-
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 GetLendingAnalysisResponse.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.Builder
avoiding the need to create one manually viaDocumentMetadata.builder()
.When the
Consumer
completes,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:
-
jobStatus
The current status of the lending analysis job.
- Parameters:
jobStatus
- The current status of the lending analysis job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobStatus
The current status of the lending analysis job.
- Parameters:
jobStatus
- The current status of the lending analysis job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of lending results.
- Parameters:
nextToken
- If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of lending results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.
- Parameters:
results
- Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.
- Parameters:
results
- Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.
This is a convenience method that creates an instance of theLendingResult.Builder
avoiding the need to create one manually viaLendingResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresults(List<LendingResult>)
.- Parameters:
results
- a consumer that will call methods onLendingResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warnings
A list of warnings that occurred during the lending analysis operation.
- Parameters:
warnings
- A list of warnings that occurred during the lending analysis operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
A list of warnings that occurred during the lending analysis operation.
- Parameters:
warnings
- A list of warnings that occurred during the lending analysis operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
A list of warnings that occurred during the lending analysis operation.
This is a convenience method that creates an instance of theWarning.Builder
avoiding the need to create one manually viaWarning.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towarnings(List<Warning>)
.- Parameters:
warnings
- a consumer that will call methods onWarning.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Returns if the lending analysis job could not be completed. Contains explanation for what error occurred.
- Parameters:
statusMessage
- Returns if the lending analysis job could not be completed. Contains explanation for what error occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analyzeLendingModelVersion
The current model version of the Analyze Lending API.
- Parameters:
analyzeLendingModelVersion
- The current model version of the Analyze Lending API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-