| Package | Description |
|---|---|
| software.amazon.awssdk.services.comprehend |
Amazon Comprehend is an Amazon Web Services service for gaining insight into the content of documents.
|
| software.amazon.awssdk.services.comprehend.model |
| Modifier and Type | Method and Description |
|---|---|
default ClassifyDocumentResponse |
ComprehendClient.classifyDocument(Consumer<ClassifyDocumentRequest.Builder> classifyDocumentRequest)
Creates a new document classification request to analyze a single document in real-time, using a previously
created and trained custom model and an endpoint.
|
default CompletableFuture<ClassifyDocumentResponse> |
ComprehendAsyncClient.classifyDocument(Consumer<ClassifyDocumentRequest.Builder> classifyDocumentRequest)
Creates a new document classification request to analyze a single document in real-time, using a previously
created and trained custom model and an endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassifyDocumentRequest.Builder |
ClassifyDocumentRequest.builder() |
ClassifyDocumentRequest.Builder |
ClassifyDocumentRequest.Builder.bytes(SdkBytes bytes)
Use the
Bytes parameter to input a text, PDF, Word or image file. |
default ClassifyDocumentRequest.Builder |
ClassifyDocumentRequest.Builder.documentReaderConfig(Consumer<DocumentReaderConfig.Builder> documentReaderConfig)
Provides configuration parameters to override the default actions for extracting text from PDF documents and
image files.
|
ClassifyDocumentRequest.Builder |
ClassifyDocumentRequest.Builder.documentReaderConfig(DocumentReaderConfig documentReaderConfig)
Provides configuration parameters to override the default actions for extracting text from PDF documents and
image files.
|
ClassifyDocumentRequest.Builder |
ClassifyDocumentRequest.Builder.endpointArn(String endpointArn)
The Amazon Resource Number (ARN) of the endpoint.
|
ClassifyDocumentRequest.Builder |
ClassifyDocumentRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ClassifyDocumentRequest.Builder |
ClassifyDocumentRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ClassifyDocumentRequest.Builder |
ClassifyDocumentRequest.Builder.text(String text)
The document text to be analyzed.
|
ClassifyDocumentRequest.Builder |
ClassifyDocumentRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends ClassifyDocumentRequest.Builder> |
ClassifyDocumentRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.