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