Package com.oracle.bmc.ailanguage.model
Class MelConcept.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.MelConcept.Builder
-
- Enclosing class:
- MelConcept
public static class MelConcept.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MelConcept
build()
MelConcept.Builder
concepts(List<MelConceptDetails> concepts)
This contains the list of matched concepts which are ranked by the relevant score with the input textMelConcept.Builder
copy(MelConcept model)
MelConcept.Builder
ontologyName(String ontologyName)
Name of the ontology to which the Entity is mapped
-
-
-
Method Detail
-
ontologyName
public MelConcept.Builder ontologyName(String ontologyName)
Name of the ontology to which the Entity is mapped- Parameters:
ontologyName
- the value to set- Returns:
- this builder
-
concepts
public MelConcept.Builder concepts(List<MelConceptDetails> concepts)
This contains the list of matched concepts which are ranked by the relevant score with the input text- Parameters:
concepts
- the value to set- Returns:
- this builder
-
build
public MelConcept build()
-
copy
public MelConcept.Builder copy(MelConcept model)
-
-