Class PredictionMappings
java.lang.Object
com.azure.resourcemanager.customerinsights.models.PredictionMappings
Definition of the link mapping of prediction.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongrade()
Get the grade property: The grade of the link mapping.reason()
Get the reason property: The reason of the link mapping.score()
Get the score property: The score of the link mapping.void
validate()
Validates the instance.Set the grade property: The grade of the link mapping.withReason
(String reason) Set the reason property: The reason of the link mapping.Set the score property: The score of the link mapping.
-
Constructor Details
-
PredictionMappings
public PredictionMappings()Creates an instance of PredictionMappings class.
-
-
Method Details
-
score
Get the score property: The score of the link mapping.- Returns:
- the score value.
-
withScore
Set the score property: The score of the link mapping.- Parameters:
score
- the score value to set.- Returns:
- the PredictionMappings object itself.
-
grade
Get the grade property: The grade of the link mapping.- Returns:
- the grade value.
-
withGrade
Set the grade property: The grade of the link mapping.- Parameters:
grade
- the grade value to set.- Returns:
- the PredictionMappings object itself.
-
reason
Get the reason property: The reason of the link mapping.- Returns:
- the reason value.
-
withReason
Set the reason property: The reason of the link mapping.- Parameters:
reason
- the reason value to set.- Returns:
- the PredictionMappings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-