Package com.oracle.bmc.ailanguage.model
Class EntityDocumentResult.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.EntityDocumentResult.Builder
-
- Enclosing class:
- EntityDocumentResult
public static class EntityDocumentResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityDocumentResult
build()
EntityDocumentResult.Builder
copy(EntityDocumentResult model)
EntityDocumentResult.Builder
entities(List<HierarchicalEntity> entities)
List of detected entities.EntityDocumentResult.Builder
key(String key)
Document unique identifier defined by the user.EntityDocumentResult.Builder
languageCode(String languageCode)
Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : Hebrew
-
-
-
Method Detail
-
key
public EntityDocumentResult.Builder key(String key)
Document unique identifier defined by the user.- Parameters:
key
- the value to set- Returns:
- this builder
-
entities
public EntityDocumentResult.Builder entities(List<HierarchicalEntity> entities)
List of detected entities.- Parameters:
entities
- the value to set- Returns:
- this builder
-
languageCode
public EntityDocumentResult.Builder languageCode(String languageCode)
Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : Hebrew- Parameters:
languageCode
- the value to set- Returns:
- this builder
-
build
public EntityDocumentResult build()
-
copy
public EntityDocumentResult.Builder copy(EntityDocumentResult model)
-
-