public static interface BatchDetectSyntaxItemResult.Builder extends SdkPojo, CopyableBuilder<BatchDetectSyntaxItemResult.Builder,BatchDetectSyntaxItemResult>
| Modifier and Type | Method and Description |
|---|---|
BatchDetectSyntaxItemResult.Builder |
index(Integer index)
The zero-based index of the document in the input list.
|
BatchDetectSyntaxItemResult.Builder |
syntaxTokens(Collection<SyntaxToken> syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
|
BatchDetectSyntaxItemResult.Builder |
syntaxTokens(Consumer<SyntaxToken.Builder>... syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
|
BatchDetectSyntaxItemResult.Builder |
syntaxTokens(SyntaxToken... syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchDetectSyntaxItemResult.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.BatchDetectSyntaxItemResult.Builder syntaxTokens(Collection<SyntaxToken> syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
syntaxTokens - The syntax tokens for the words in the document, one token for each word.BatchDetectSyntaxItemResult.Builder syntaxTokens(SyntaxToken... syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
syntaxTokens - The syntax tokens for the words in the document, one token for each word.BatchDetectSyntaxItemResult.Builder syntaxTokens(Consumer<SyntaxToken.Builder>... syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
This is a convenience method that creates an instance of theSyntaxToken.Builder avoiding the need to create one
manually via SyntaxToken.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #syntaxTokens(List.
syntaxTokens - a consumer that will call methods on
SyntaxToken.Builder#syntaxTokens(java.util.Collection) Copyright © 2023. All rights reserved.