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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DetectEntitiesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DetectEntitiesRequest.Builder |
text(String text)
A UTF-8 text string.
|
build
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DetectEntitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.