public static class KeyPhraseDocument.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KeyPhraseDocument |
build() |
KeyPhraseDocument.Builder |
copy(KeyPhraseDocument o) |
KeyPhraseDocument.Builder |
key(String key)
Document Unique Identifier.
|
KeyPhraseDocument.Builder |
languageCode(String languageCode)
Language code as per ISO 639-1 standard..
|
KeyPhraseDocument.Builder |
text(String text)
Document text for detect keyPhrases.
|
public KeyPhraseDocument.Builder key(String key)
Document Unique Identifier.
key
- the value to setpublic KeyPhraseDocument.Builder text(String text)
Document text for detect keyPhrases.
text
- the value to setpublic KeyPhraseDocument.Builder languageCode(String languageCode)
Language code as per ISO 639-1 standard..
languageCode
- the value to setpublic KeyPhraseDocument build()
public KeyPhraseDocument.Builder copy(KeyPhraseDocument o)
Copyright © 2016–2022. All rights reserved.