Class PredictionGradesItem
java.lang.Object
com.azure.resourcemanager.customerinsights.models.PredictionGradesItem
The definition of a prediction grade.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the gradeName property: Name of the grade.Get the maxScoreThreshold property: Maximum score threshold.Get the minScoreThreshold property: Minimum score threshold.void
validate()
Validates the instance.withGradeName
(String gradeName) Set the gradeName property: Name of the grade.withMaxScoreThreshold
(Integer maxScoreThreshold) Set the maxScoreThreshold property: Maximum score threshold.withMinScoreThreshold
(Integer minScoreThreshold) Set the minScoreThreshold property: Minimum score threshold.
-
Constructor Details
-
PredictionGradesItem
public PredictionGradesItem()Creates an instance of PredictionGradesItem class.
-
-
Method Details
-
gradeName
Get the gradeName property: Name of the grade.- Returns:
- the gradeName value.
-
withGradeName
Set the gradeName property: Name of the grade.- Parameters:
gradeName
- the gradeName value to set.- Returns:
- the PredictionGradesItem object itself.
-
minScoreThreshold
Get the minScoreThreshold property: Minimum score threshold.- Returns:
- the minScoreThreshold value.
-
withMinScoreThreshold
Set the minScoreThreshold property: Minimum score threshold.- Parameters:
minScoreThreshold
- the minScoreThreshold value to set.- Returns:
- the PredictionGradesItem object itself.
-
maxScoreThreshold
Get the maxScoreThreshold property: Maximum score threshold.- Returns:
- the maxScoreThreshold value.
-
withMaxScoreThreshold
Set the maxScoreThreshold property: Maximum score threshold.- Parameters:
maxScoreThreshold
- the maxScoreThreshold value to set.- Returns:
- the PredictionGradesItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-