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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDetectKeyPhrasesItemResult.Builderindex(Integer index)The zero-based index of the document in the input list.BatchDetectKeyPhrasesItemResult.BuilderkeyPhrases(Collection<KeyPhrase> keyPhrases)One or more KeyPhrase objects, one for each key phrase detected in the document.BatchDetectKeyPhrasesItemResult.BuilderkeyPhrases(Consumer<KeyPhrase.Builder>... keyPhrases)One or more KeyPhrase objects, one for each key phrase detected in the document.BatchDetectKeyPhrasesItemResult.BuilderkeyPhrases(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 Detail
-
index
BatchDetectKeyPhrasesItemResult.Builder index(Integer 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
BatchDetectKeyPhrasesItemResult.Builder keyPhrases(Collection<KeyPhrase> 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
BatchDetectKeyPhrasesItemResult.Builder keyPhrases(KeyPhrase... 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
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.Builderavoiding the need to create one manually viaKeyPhrase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#keyPhrases(List.) - 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:
#keyPhrases(java.util.Collection)
-
-