public static interface DetectKeyPhrasesResponse.Builder extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<DetectKeyPhrasesResponse.Builder,DetectKeyPhrasesResponse>
| Modifier and Type | Method and Description |
|---|---|
DetectKeyPhrasesResponse.Builder |
keyPhrases(Collection<KeyPhrase> keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text.
|
DetectKeyPhrasesResponse.Builder |
keyPhrases(Consumer<KeyPhrase.Builder>... keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text.
|
DetectKeyPhrasesResponse.Builder |
keyPhrases(KeyPhrase... keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectKeyPhrasesResponse.Builder keyPhrases(Collection<KeyPhrase> keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
keyPhrases - A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase,
the response provides the text of the key phrase, where the key phrase begins and ends, and the level
of confidence that Amazon Comprehend has in the accuracy of the detection.DetectKeyPhrasesResponse.Builder keyPhrases(KeyPhrase... keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
keyPhrases - A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase,
the response provides the text of the key phrase, where the key phrase begins and ends, and the level
of confidence that Amazon Comprehend has in the accuracy of the detection.DetectKeyPhrasesResponse.Builder keyPhrases(Consumer<KeyPhrase.Builder>... keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
This is a convenience method that creates an instance of theKeyPhrase.Builder avoiding the need to create one
manually via KeyPhrase.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #keyPhrases(List.
keyPhrases - a consumer that will call methods on
KeyPhrase.Builder#keyPhrases(java.util.Collection) Copyright © 2023. All rights reserved.