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