public static interface DetectDominantLanguageResponse.Builder extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<DetectDominantLanguageResponse.Builder,DetectDominantLanguageResponse>
Modifier and Type | Method and Description |
---|---|
DetectDominantLanguageResponse.Builder |
languages(Collection<DominantLanguage> languages)
The languages that Amazon Comprehend detected in the input text.
|
DetectDominantLanguageResponse.Builder |
languages(Consumer<DominantLanguage.Builder>... languages)
The languages that Amazon Comprehend detected in the input text.
|
DetectDominantLanguageResponse.Builder |
languages(DominantLanguage... languages)
The languages that Amazon Comprehend detected in the input text.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DetectDominantLanguageResponse.Builder languages(Collection<DominantLanguage> languages)
The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
languages
- The languages that Amazon Comprehend detected in the input text. For each language, the response
returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the
accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools
web site.DetectDominantLanguageResponse.Builder languages(DominantLanguage... languages)
The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
languages
- The languages that Amazon Comprehend detected in the input text. For each language, the response
returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the
accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools
web site.DetectDominantLanguageResponse.Builder languages(Consumer<DominantLanguage.Builder>... languages)
The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #languages(List)
.languages
- a consumer that will call methods on List.Builder
#languages(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.