public static interface DetectEntitiesRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<DetectEntitiesRequest.Builder,DetectEntitiesRequest>
| Modifier and Type | Method and Description |
|---|---|
DetectEntitiesRequest.Builder |
endpointArn(String endpointArn)
The Amazon Resource Name of an endpoint that is associated with a custom entity recognition model.
|
DetectEntitiesRequest.Builder |
languageCode(LanguageCode languageCode)
The language of the input documents.
|
DetectEntitiesRequest.Builder |
languageCode(String languageCode)
The language of the input documents.
|
DetectEntitiesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DetectEntitiesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DetectEntitiesRequest.Builder |
text(String text)
A UTF-8 text string.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectEntitiesRequest.Builder text(String text)
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
text - A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.DetectEntitiesRequest.Builder languageCode(String languageCode)
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
If your request includes the endpoint for a custom entity recognition model, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you specify here.
languageCode - The language of the input documents. You can specify any of the primary languages supported by Amazon
Comprehend. All documents must be in the same language.
If your request includes the endpoint for a custom entity recognition model, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you specify here.
LanguageCode,
LanguageCodeDetectEntitiesRequest.Builder languageCode(LanguageCode languageCode)
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
If your request includes the endpoint for a custom entity recognition model, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you specify here.
languageCode - The language of the input documents. You can specify any of the primary languages supported by Amazon
Comprehend. All documents must be in the same language.
If your request includes the endpoint for a custom entity recognition model, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you specify here.
LanguageCode,
LanguageCodeDetectEntitiesRequest.Builder endpointArn(String endpointArn)
The Amazon Resource Name of an endpoint that is associated with a custom entity recognition model. Provide an endpoint if you want to detect entities by using your own custom model instead of the default model that is used by Amazon Comprehend.
If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you provide in your request.
endpointArn - The Amazon Resource Name of an endpoint that is associated with a custom entity recognition model.
Provide an endpoint if you want to detect entities by using your own custom model instead of the
default model that is used by Amazon Comprehend.
If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you provide in your request.
DetectEntitiesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDetectEntitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.