public static interface DetectEntitiesRequest.Builder extends ComprehendRequest.Builder, CopyableBuilder<DetectEntitiesRequest.Builder,DetectEntitiesRequest>
Modifier and Type | Method and Description |
---|---|
DetectEntitiesRequest.Builder |
languageCode(LanguageCode languageCode)
The RFC 5646 language code of the input text.
|
DetectEntitiesRequest.Builder |
languageCode(String languageCode)
The RFC 5646 language code of the input text.
|
DetectEntitiesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DetectEntitiesRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
DetectEntitiesRequest.Builder |
text(String text)
A UTF-8 text string.
|
build
requestOverrideConfig
copy
apply, build
DetectEntitiesRequest.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 RFC 5646 language code of the input text. If the request does not specify the language code, the service
detects the dominant language. If you specify a language code that the service does not support, it returns
UnsupportedLanguageException
exception. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web
site.
languageCode
- The RFC 5646 language code of the input text. If the request does not specify the language code, the
service detects the dominant language. If you specify a language code that the service does not
support, it returns UnsupportedLanguageException
exception. For more information about
RFC 5646, see Tags for Identifying Languages on the
IETF Tools web site.LanguageCode
,
LanguageCode
DetectEntitiesRequest.Builder languageCode(LanguageCode languageCode)
The RFC 5646 language code of the input text. If the request does not specify the language code, the service
detects the dominant language. If you specify a language code that the service does not support, it returns
UnsupportedLanguageException
exception. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web
site.
languageCode
- The RFC 5646 language code of the input text. If the request does not specify the language code, the
service detects the dominant language. If you specify a language code that the service does not
support, it returns UnsupportedLanguageException
exception. For more information about
RFC 5646, see Tags for Identifying Languages on the
IETF Tools web site.LanguageCode
,
LanguageCode
DetectEntitiesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.DetectEntitiesRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.