Class PredictionDistributionDefinition

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

public final class PredictionDistributionDefinition extends Object
The definition of the prediction distribution.
  • Constructor Details

    • PredictionDistributionDefinition

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

    • totalPositives

      public Long totalPositives()
      Get the totalPositives property: Total positive in the distribution.
      Returns:
      the totalPositives value.
    • withTotalPositives

      public PredictionDistributionDefinition withTotalPositives(Long totalPositives)
      Set the totalPositives property: Total positive in the distribution.
      Parameters:
      totalPositives - the totalPositives value to set.
      Returns:
      the PredictionDistributionDefinition object itself.
    • totalNegatives

      public Long totalNegatives()
      Get the totalNegatives property: Total negatives in the distribution.
      Returns:
      the totalNegatives value.
    • withTotalNegatives

      public PredictionDistributionDefinition withTotalNegatives(Long totalNegatives)
      Set the totalNegatives property: Total negatives in the distribution.
      Parameters:
      totalNegatives - the totalNegatives value to set.
      Returns:
      the PredictionDistributionDefinition object itself.
    • distributions

      Get the distributions property: Distributions of the prediction.
      Returns:
      the distributions value.
    • withDistributions

      Set the distributions property: Distributions of the prediction.
      Parameters:
      distributions - the distributions value to set.
      Returns:
      the PredictionDistributionDefinition object itself.
    • validate

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