Package com.oracle.bmc.ailanguage.model
Class RelationEntity.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.model.RelationEntity.Builder
 
- 
- Enclosing class:
- RelationEntity
 
 public static class RelationEntity.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationEntitybuild()RelationEntity.Buildercopy(RelationEntity model)RelationEntity.Builderid(String id)id of the relationRelationEntity.BuilderobjectId(String objectId)Object entity of the relation.RelationEntity.Builderscore(Double score)Score or confidence for detected entity.RelationEntity.BuildersubjectId(String subjectId)Subject entity of the relation.RelationEntity.Buildertype(String type)Type of relation between subject entity and object entity.
 
- 
- 
- 
Method Detail- 
idpublic RelationEntity.Builder id(String id) id of the relation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
subjectIdpublic RelationEntity.Builder subjectId(String subjectId) Subject entity of the relation.eg,MEDICINE_NAME, EXAMINATION - Parameters:
- subjectId- the value to set
- Returns:
- this builder
 
 - 
objectIdpublic RelationEntity.Builder objectId(String objectId) Object entity of the relation.eg, MEDICINE_DOSAGE, MEDICINE_DURATION, MEASUREMENT - Parameters:
- objectId- the value to set
- Returns:
- this builder
 
 - 
typepublic RelationEntity.Builder type(String type) Type of relation between subject entity and object entity.eg,EXAMINATION_MEASUREMENT, FREQUENCY, DOSAGE - Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
scorepublic RelationEntity.Builder score(Double score) Score or confidence for detected entity.- Parameters:
- score- the value to set
- Returns:
- this builder
 
 - 
buildpublic RelationEntity build() 
 - 
copypublic RelationEntity.Builder copy(RelationEntity model) 
 
- 
 
-