Class PredictionDistributionDefinition
java.lang.Object
com.azure.resourcemanager.customerinsights.models.PredictionDistributionDefinition
The definition of the prediction distribution.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PredictionDistributionDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the distributions property: Distributions of the prediction.Get the totalNegatives property: Total negatives in the distribution.Get the totalPositives property: Total positive in the distribution.void
validate()
Validates the instance.withDistributions
(List<PredictionDistributionDefinitionDistributionsItem> distributions) Set the distributions property: Distributions of the prediction.withTotalNegatives
(Long totalNegatives) Set the totalNegatives property: Total negatives in the distribution.withTotalPositives
(Long totalPositives) Set the totalPositives property: Total positive in the distribution.
-
Constructor Details
-
PredictionDistributionDefinition
public PredictionDistributionDefinition()Creates an instance of PredictionDistributionDefinition class.
-
-
Method Details
-
totalPositives
Get the totalPositives property: Total positive in the distribution.- Returns:
- the totalPositives value.
-
withTotalPositives
Set the totalPositives property: Total positive in the distribution.- Parameters:
totalPositives
- the totalPositives value to set.- Returns:
- the PredictionDistributionDefinition object itself.
-
totalNegatives
Get the totalNegatives property: Total negatives in the distribution.- Returns:
- the totalNegatives value.
-
withTotalNegatives
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
public PredictionDistributionDefinition withDistributions(List<PredictionDistributionDefinitionDistributionsItem> distributions) 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.
-