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.
|
copy
applyMutation, build
BatchDetectKeyPhrasesItemResult.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 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 #keyPhrases(List)
.keyPhrases
- a consumer that will call methods on List.Builder
#keyPhrases(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.