Package com.oracle.bmc.ailanguage.model
Class TextClassification.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.model.TextClassification.Builder
 
- 
- Enclosing class:
- TextClassification
 
 public static class TextClassification.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TextClassificationbuild()TextClassification.Buildercopy(TextClassification model)TextClassification.Builderlabel(String label)Label of the the given text.TextClassification.Builderscore(Double score)Score or confidence of extracted text label.
 
- 
- 
- 
Method Detail- 
labelpublic TextClassification.Builder label(String label) Label of the the given text.- Parameters:
- label- the value to set
- Returns:
- this builder
 
 - 
scorepublic TextClassification.Builder score(Double score) Score or confidence of extracted text label.Example: 0.9999856066867399 - Parameters:
- score- the value to set
- Returns:
- this builder
 
 - 
buildpublic TextClassification build() 
 - 
copypublic TextClassification.Builder copy(TextClassification model) 
 
- 
 
-