Package com.oracle.bmc.ailanguage.model
Class HealthEntity.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.model.HealthEntity.Builder
 
- 
- Enclosing class:
- HealthEntity
 
 public static class HealthEntity.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthEntity.Builderassertions(List<AssertionDetails> assertions)list of all assertions associated with this entity.HealthEntitybuild()HealthEntity.Buildercategory(String category)Entity category e.g, MEDICAL_CONDITION, MEDICATION, GENERAL, ANATOMYHealthEntity.Buildercopy(HealthEntity model)HealthEntity.Builderid(String id)Unique id of the entityHealthEntity.Builderlength(Integer length)Length of entity textHealthEntity.BuildermatchedConcepts(List<MelConcept> matchedConcepts)This contains the list of matched concepts which are ranked by the relevant score with the input textHealthEntity.Builderoffset(Integer offset)The number of Unicode code points preceding this entity in the submitted text.HealthEntity.Builderscore(Double score)Score or confidence for detected entity.HealthEntity.BuildersubType(String subType)Sub-type of entity text like GPE for LOCATION typeHealthEntity.Buildertext(String text)Entity text like name of person, location, and so on.HealthEntity.Buildertype(String type)Type of entity text like PER, LOC.
 
- 
- 
- 
Method Detail- 
offsetpublic HealthEntity.Builder offset(Integer offset) The number of Unicode code points preceding this entity in the submitted text.- Parameters:
- offset- the value to set
- Returns:
- this builder
 
 - 
lengthpublic HealthEntity.Builder length(Integer length) Length of entity text- Parameters:
- length- the value to set
- Returns:
- this builder
 
 - 
textpublic HealthEntity.Builder text(String text) Entity text like name of person, location, and so on.- Parameters:
- text- the value to set
- Returns:
- this builder
 
 - 
typepublic HealthEntity.Builder type(String type) Type of entity text like PER, LOC.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
subTypepublic HealthEntity.Builder subType(String subType) Sub-type of entity text like GPE for LOCATION type- Parameters:
- subType- the value to set
- Returns:
- this builder
 
 - 
scorepublic HealthEntity.Builder score(Double score) Score or confidence for detected entity.- Parameters:
- score- the value to set
- Returns:
- this builder
 
 - 
categorypublic HealthEntity.Builder category(String category) Entity category e.g, MEDICAL_CONDITION, MEDICATION, GENERAL, ANATOMY- Parameters:
- category- the value to set
- Returns:
- this builder
 
 - 
idpublic HealthEntity.Builder id(String id) Unique id of the entity- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
assertionspublic HealthEntity.Builder assertions(List<AssertionDetails> assertions) list of all assertions associated with this entity.- Parameters:
- assertions- the value to set
- Returns:
- this builder
 
 - 
matchedConceptspublic HealthEntity.Builder matchedConcepts(List<MelConcept> matchedConcepts) This contains the list of matched concepts which are ranked by the relevant score with the input text- Parameters:
- matchedConcepts- the value to set
- Returns:
- this builder
 
 - 
buildpublic HealthEntity build() 
 - 
copypublic HealthEntity.Builder copy(HealthEntity model) 
 
- 
 
-