Interface GetDocumentAnalysisRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetDocumentAnalysisRequest.Builder,,GetDocumentAnalysisRequest> SdkBuilder<GetDocumentAnalysisRequest.Builder,,GetDocumentAnalysisRequest> SdkPojo,SdkRequest.Builder,TextractRequest.Builder
- Enclosing class:
GetDocumentAnalysisRequest
public static interface GetDocumentAnalysisRequest.Builder
extends TextractRequest.Builder, SdkPojo, CopyableBuilder<GetDocumentAnalysisRequest.Builder,GetDocumentAnalysisRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier for the text-detection job.maxResults(Integer maxResults) The maximum number of results to return per paginated call.If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.textract.model.TextractRequest.Builder
build
-
Method Details
-
jobId
A unique identifier for the text-detection job. The
JobIdis returned fromStartDocumentAnalysis. AJobIdvalue is only valid for 7 days.- Parameters:
jobId- A unique identifier for the text-detection job. TheJobIdis returned fromStartDocumentAnalysis. AJobIdvalue is only valid for 7 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return per paginated call. The largest value that you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000.
- Parameters:
maxResults- The maximum number of results to return per paginated call. The largest value that you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.
- Parameters:
nextToken- If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetDocumentAnalysisRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetDocumentAnalysisRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-