Interface GetLendingAnalysisResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLendingAnalysisResponse.Builder,GetLendingAnalysisResponse>
,SdkBuilder<GetLendingAnalysisResponse.Builder,GetLendingAnalysisResponse>
,SdkPojo
,SdkResponse.Builder
,TextractResponse.Builder
- Enclosing class:
- GetLendingAnalysisResponse
public static interface GetLendingAnalysisResponse.Builder extends TextractResponse.Builder, SdkPojo, CopyableBuilder<GetLendingAnalysisResponse.Builder,GetLendingAnalysisResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetLendingAnalysisResponse.Builder
analyzeLendingModelVersion(String analyzeLendingModelVersion)
The current model version of the Analyze Lending API.default GetLendingAnalysisResponse.Builder
documentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata)
Sets the value of the DocumentMetadata property for this object.GetLendingAnalysisResponse.Builder
documentMetadata(DocumentMetadata documentMetadata)
Sets the value of the DocumentMetadata property for this object.GetLendingAnalysisResponse.Builder
jobStatus(String jobStatus)
The current status of the lending analysis job.GetLendingAnalysisResponse.Builder
jobStatus(JobStatus jobStatus)
The current status of the lending analysis job.GetLendingAnalysisResponse.Builder
nextToken(String nextToken)
If the response is truncated, Amazon Textract returns this token.GetLendingAnalysisResponse.Builder
results(Collection<LendingResult> results)
Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.GetLendingAnalysisResponse.Builder
results(Consumer<LendingResult.Builder>... results)
Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.GetLendingAnalysisResponse.Builder
results(LendingResult... results)
Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.GetLendingAnalysisResponse.Builder
statusMessage(String statusMessage)
Returns if the lending analysis job could not be completed.GetLendingAnalysisResponse.Builder
warnings(Collection<Warning> warnings)
A list of warnings that occurred during the lending analysis operation.GetLendingAnalysisResponse.Builder
warnings(Consumer<Warning.Builder>... warnings)
A list of warnings that occurred during the lending analysis operation.GetLendingAnalysisResponse.Builder
warnings(Warning... warnings)
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, 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
GetLendingAnalysisResponse.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 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:
documentMetadata(DocumentMetadata)
-
jobStatus
GetLendingAnalysisResponse.Builder jobStatus(String jobStatus)
The current status of the lending analysis job.
-
jobStatus
GetLendingAnalysisResponse.Builder jobStatus(JobStatus jobStatus)
The current status of the lending analysis job.
-
nextToken
GetLendingAnalysisResponse.Builder nextToken(String 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
GetLendingAnalysisResponse.Builder results(Collection<LendingResult> 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
GetLendingAnalysisResponse.Builder results(LendingResult... 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
GetLendingAnalysisResponse.Builder results(Consumer<LendingResult.Builder>... 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 to#results(List
.) - 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:
#results(java.util.Collection
)
-
warnings
GetLendingAnalysisResponse.Builder warnings(Collection<Warning> 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
GetLendingAnalysisResponse.Builder warnings(Warning... 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
GetLendingAnalysisResponse.Builder warnings(Consumer<Warning.Builder>... 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 to#warnings(List
.) - 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:
#warnings(java.util.Collection
)
-
statusMessage
GetLendingAnalysisResponse.Builder statusMessage(String 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
GetLendingAnalysisResponse.Builder analyzeLendingModelVersion(String 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.
-
-