Class PredictionDistributionDefinitionDistributionsItem

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

public final class PredictionDistributionDefinitionDistributionsItem extends Object
The definition of a prediction distribution.
  • Constructor Details

    • PredictionDistributionDefinitionDistributionsItem

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

    • scoreThreshold

      public Integer scoreThreshold()
      Get the scoreThreshold property: Score threshold.
      Returns:
      the scoreThreshold value.
    • withScoreThreshold

      public PredictionDistributionDefinitionDistributionsItem withScoreThreshold(Integer scoreThreshold)
      Set the scoreThreshold property: Score threshold.
      Parameters:
      scoreThreshold - the scoreThreshold value to set.
      Returns:
      the PredictionDistributionDefinitionDistributionsItem object itself.
    • positives

      public Long positives()
      Get the positives property: Number of positives.
      Returns:
      the positives value.
    • withPositives

      public PredictionDistributionDefinitionDistributionsItem withPositives(Long positives)
      Set the positives property: Number of positives.
      Parameters:
      positives - the positives value to set.
      Returns:
      the PredictionDistributionDefinitionDistributionsItem object itself.
    • negatives

      public Long negatives()
      Get the negatives property: Number of negatives.
      Returns:
      the negatives value.
    • withNegatives

      public PredictionDistributionDefinitionDistributionsItem withNegatives(Long negatives)
      Set the negatives property: Number of negatives.
      Parameters:
      negatives - the negatives value to set.
      Returns:
      the PredictionDistributionDefinitionDistributionsItem object itself.
    • positivesAboveThreshold

      public Long positivesAboveThreshold()
      Get the positivesAboveThreshold property: Number of positives above threshold.
      Returns:
      the positivesAboveThreshold value.
    • withPositivesAboveThreshold

      public PredictionDistributionDefinitionDistributionsItem withPositivesAboveThreshold(Long positivesAboveThreshold)
      Set the positivesAboveThreshold property: Number of positives above threshold.
      Parameters:
      positivesAboveThreshold - the positivesAboveThreshold value to set.
      Returns:
      the PredictionDistributionDefinitionDistributionsItem object itself.
    • negativesAboveThreshold

      public Long negativesAboveThreshold()
      Get the negativesAboveThreshold property: Number of negatives above threshold.
      Returns:
      the negativesAboveThreshold value.
    • withNegativesAboveThreshold

      public PredictionDistributionDefinitionDistributionsItem withNegativesAboveThreshold(Long negativesAboveThreshold)
      Set the negativesAboveThreshold property: Number of negatives above threshold.
      Parameters:
      negativesAboveThreshold - the negativesAboveThreshold value to set.
      Returns:
      the PredictionDistributionDefinitionDistributionsItem object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.