Class PredictionMappings

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

public final class PredictionMappings extends Object
Definition of the link mapping of prediction.
  • Constructor Details

    • PredictionMappings

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

    • score

      public String score()
      Get the score property: The score of the link mapping.
      Returns:
      the score value.
    • withScore

      public PredictionMappings withScore(String score)
      Set the score property: The score of the link mapping.
      Parameters:
      score - the score value to set.
      Returns:
      the PredictionMappings object itself.
    • grade

      public String grade()
      Get the grade property: The grade of the link mapping.
      Returns:
      the grade value.
    • withGrade

      public PredictionMappings withGrade(String grade)
      Set the grade property: The grade of the link mapping.
      Parameters:
      grade - the grade value to set.
      Returns:
      the PredictionMappings object itself.
    • reason

      public String reason()
      Get the reason property: The reason of the link mapping.
      Returns:
      the reason value.
    • withReason

      public PredictionMappings withReason(String reason)
      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.