public static class HealthEntityDocumentResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HealthEntityDocumentResult |
build() |
HealthEntityDocumentResult.Builder |
copy(HealthEntityDocumentResult model) |
HealthEntityDocumentResult.Builder |
entities(List<HealthEntity> entities)
List of detected entities.
|
HealthEntityDocumentResult.Builder |
key(String key)
Document unique identifier defined by the user.
|
HealthEntityDocumentResult.Builder |
languageCode(String languageCode)
Language code of the document.
|
HealthEntityDocumentResult.Builder |
relations(List<RelationEntity> relations)
List of succeeded document response.
|
HealthEntityDocumentResult.Builder |
resolvedEntities(Map<String,ResolvedEntities> resolvedEntities)
Map of resolved entities by entity type
|
public HealthEntityDocumentResult.Builder key(String key)
Document unique identifier defined by the user.
key
- the value to setpublic HealthEntityDocumentResult.Builder entities(List<HealthEntity> entities)
List of detected entities.
entities
- the value to setpublic HealthEntityDocumentResult.Builder relations(List<RelationEntity> relations)
List of succeeded document response.
relations
- the value to setpublic HealthEntityDocumentResult.Builder resolvedEntities(Map<String,ResolvedEntities> resolvedEntities)
Map of resolved entities by entity type
resolvedEntities
- the value to setpublic HealthEntityDocumentResult.Builder languageCode(String languageCode)
Language code of the document. Please refer to respective model API documentation for supported languages.
languageCode
- the value to setpublic HealthEntityDocumentResult build()
public HealthEntityDocumentResult.Builder copy(HealthEntityDocumentResult model)
Copyright © 2016–2024. All rights reserved.