Package com.oracle.bmc.ailanguage.model
Class MelConceptDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.MelConceptDetails.Builder
-
- Enclosing class:
- MelConceptDetails
public static class MelConceptDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MelConceptDetails.Builderattributes(Map<String,String> attributes)additional attribute values specific to ontology for ex.MelConceptDetailsbuild()MelConceptDetails.Buildercopy(MelConceptDetails model)MelConceptDetails.Builderid(String id)id of the relationMelConceptDetails.Buildername(String name)The matched concept name/description on the ontologyMelConceptDetails.Builderscore(Double score)The relevant score between the concept and the input text
-
-
-
Method Detail
-
id
public MelConceptDetails.Builder id(String id)
id of the relation- Parameters:
id- the value to set- Returns:
- this builder
-
name
public MelConceptDetails.Builder name(String name)
The matched concept name/description on the ontology- Parameters:
name- the value to set- Returns:
- this builder
-
score
public MelConceptDetails.Builder score(Double score)
The relevant score between the concept and the input text- Parameters:
score- the value to set- Returns:
- this builder
-
attributes
public MelConceptDetails.Builder attributes(Map<String,String> attributes)
additional attribute values specific to ontology for ex.for SNOMED semantic_type and for for ICD-10 default_charge_code etc.
- Parameters:
attributes- the value to set- Returns:
- this builder
-
build
public MelConceptDetails build()
-
copy
public MelConceptDetails.Builder copy(MelConceptDetails model)
-
-