Interface BatchDetectKeyPhrasesItemResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchDetectKeyPhrasesItemResult.Builder,
,BatchDetectKeyPhrasesItemResult> SdkBuilder<BatchDetectKeyPhrasesItemResult.Builder,
,BatchDetectKeyPhrasesItemResult> SdkPojo
- Enclosing class:
BatchDetectKeyPhrasesItemResult
public static interface BatchDetectKeyPhrasesItemResult.Builder
extends SdkPojo, CopyableBuilder<BatchDetectKeyPhrasesItemResult.Builder,BatchDetectKeyPhrasesItemResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe zero-based index of the document in the input list.keyPhrases
(Collection<KeyPhrase> keyPhrases) One or more KeyPhrase objects, one for each key phrase detected in the document.keyPhrases
(Consumer<KeyPhrase.Builder>... keyPhrases) One or more KeyPhrase objects, one for each key phrase detected in the document.keyPhrases
(KeyPhrase... keyPhrases) One or more KeyPhrase objects, one for each key phrase detected in the document.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
index
The zero-based index of the document in the input list.
- Parameters:
index
- The zero-based index of the document in the input list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPhrases
One or more KeyPhrase objects, one for each key phrase detected in the document.
- Parameters:
keyPhrases
- One or more KeyPhrase objects, one for each key phrase detected in the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPhrases
One or more KeyPhrase objects, one for each key phrase detected in the document.
- Parameters:
keyPhrases
- One or more KeyPhrase objects, one for each key phrase detected in the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaKeyPhrase.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyPhrases(List<KeyPhrase>)
.- Parameters:
keyPhrases
- a consumer that will call methods onKeyPhrase.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-