Class PredictionGradesItem

java.lang.Object
com.azure.resourcemanager.customerinsights.models.PredictionGradesItem

public final class PredictionGradesItem extends Object
The definition of a prediction grade.
  • Constructor Details

    • PredictionGradesItem

      public PredictionGradesItem()
      Creates an instance of PredictionGradesItem class.
  • Method Details

    • gradeName

      public String gradeName()
      Get the gradeName property: Name of the grade.
      Returns:
      the gradeName value.
    • withGradeName

      public PredictionGradesItem withGradeName(String gradeName)
      Set the gradeName property: Name of the grade.
      Parameters:
      gradeName - the gradeName value to set.
      Returns:
      the PredictionGradesItem object itself.
    • minScoreThreshold

      public Integer minScoreThreshold()
      Get the minScoreThreshold property: Minimum score threshold.
      Returns:
      the minScoreThreshold value.
    • withMinScoreThreshold

      public PredictionGradesItem withMinScoreThreshold(Integer minScoreThreshold)
      Set the minScoreThreshold property: Minimum score threshold.
      Parameters:
      minScoreThreshold - the minScoreThreshold value to set.
      Returns:
      the PredictionGradesItem object itself.
    • maxScoreThreshold

      public Integer maxScoreThreshold()
      Get the maxScoreThreshold property: Maximum score threshold.
      Returns:
      the maxScoreThreshold value.
    • withMaxScoreThreshold

      public PredictionGradesItem withMaxScoreThreshold(Integer maxScoreThreshold)
      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.