public static interface BatchDetectKeyPhrasesItemResult.Builder extends SdkPojo, CopyableBuilder<BatchDetectKeyPhrasesItemResult.Builder,BatchDetectKeyPhrasesItemResult>
| Modifier and Type | Method and Description |
|---|---|
BatchDetectKeyPhrasesItemResult.Builder |
index(Integer index)
The zero-based index of the document in the input list.
|
BatchDetectKeyPhrasesItemResult.Builder |
keyPhrases(Collection<KeyPhrase> keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
|
BatchDetectKeyPhrasesItemResult.Builder |
keyPhrases(Consumer<KeyPhrase.Builder>... keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
|
BatchDetectKeyPhrasesItemResult.Builder |
keyPhrases(KeyPhrase... keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchDetectKeyPhrasesItemResult.Builder index(Integer index)
The zero-based index of the document in the input list.
index - The zero-based index of the document in the input list.BatchDetectKeyPhrasesItemResult.Builder keyPhrases(Collection<KeyPhrase> keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
keyPhrases - One or more KeyPhrase objects, one for each key phrase detected in the document.BatchDetectKeyPhrasesItemResult.Builder keyPhrases(KeyPhrase... keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
keyPhrases - One or more KeyPhrase objects, one for each key phrase detected in the document.BatchDetectKeyPhrasesItemResult.Builder keyPhrases(Consumer<KeyPhrase.Builder>... keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
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.