PredictionMappings Class
- java.
lang. Object - com.
azure. resourcemanager. customerinsights. models. PredictionMappings
- com.
public final class PredictionMappings
Definition of the link mapping of prediction.
Constructor Summary
Constructor | Description |
---|---|
PredictionMappings() |
Creates an instance of Prediction |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
grade()
Get the grade property: The grade of the link mapping. |
String |
reason()
Get the reason property: The reason of the link mapping. |
String |
score()
Get the score property: The score of the link mapping. |
void |
validate()
Validates the instance. |
Prediction |
withGrade(String grade)
Set the grade property: The grade of the link mapping. |
Prediction |
withReason(String reason)
Set the reason property: The reason of the link mapping. |
Prediction |
withScore(String score)
Set the score property: The score of the link mapping. |
Methods inherited from java.lang.Object
Constructor Details
PredictionMappings
public PredictionMappings()
Creates an instance of PredictionMappings class.
Method Details
grade
public String grade()
Get the grade property: The grade of the link mapping.
Returns:
reason
public String reason()
Get the reason property: The reason of the link mapping.
Returns:
score
public String score()
Get the score property: The score of the link mapping.
Returns:
validate
public void validate()
Validates the instance.
withGrade
public PredictionMappings withGrade(String grade)
Set the grade property: The grade of the link mapping.
Parameters:
Returns:
withReason
public PredictionMappings withReason(String reason)
Set the reason property: The reason of the link mapping.
Parameters:
Returns:
withScore
public PredictionMappings withScore(String score)
Set the score property: The score of the link mapping.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for