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