public static class DominantLanguageDocument.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DominantLanguageDocument |
build() |
DominantLanguageDocument.Builder |
copy(DominantLanguageDocument model) |
DominantLanguageDocument.Builder |
key(String key)
Document unique identifier defined by the user.
|
DominantLanguageDocument.Builder |
text(String text)
Document text for detect language.
|
public DominantLanguageDocument.Builder key(String key)
Document unique identifier defined by the user.
key
- the value to setpublic DominantLanguageDocument.Builder text(String text)
Document text for detect language.
text
- the value to setpublic DominantLanguageDocument build()
public DominantLanguageDocument.Builder copy(DominantLanguageDocument model)
Copyright © 2016–2024. All rights reserved.