Class PredictionDistributionDefinitionDistributionsItem
java.lang.Object
com.azure.resourcemanager.customerinsights.models.PredictionDistributionDefinitionDistributionsItem
The definition of a prediction distribution.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PredictionDistributionDefinitionDistributionsItem class. -
Method Summary
Modifier and TypeMethodDescriptionGet the negatives property: Number of negatives.Get the negativesAboveThreshold property: Number of negatives above threshold.Get the positives property: Number of positives.Get the positivesAboveThreshold property: Number of positives above threshold.Get the scoreThreshold property: Score threshold.void
validate()
Validates the instance.withNegatives
(Long negatives) Set the negatives property: Number of negatives.withNegativesAboveThreshold
(Long negativesAboveThreshold) Set the negativesAboveThreshold property: Number of negatives above threshold.withPositives
(Long positives) Set the positives property: Number of positives.withPositivesAboveThreshold
(Long positivesAboveThreshold) Set the positivesAboveThreshold property: Number of positives above threshold.withScoreThreshold
(Integer scoreThreshold) Set the scoreThreshold property: Score threshold.
-
Constructor Details
-
PredictionDistributionDefinitionDistributionsItem
public PredictionDistributionDefinitionDistributionsItem()Creates an instance of PredictionDistributionDefinitionDistributionsItem class.
-
-
Method Details
-
scoreThreshold
Get the scoreThreshold property: Score threshold.- Returns:
- the scoreThreshold value.
-
withScoreThreshold
Set the scoreThreshold property: Score threshold.- Parameters:
scoreThreshold
- the scoreThreshold value to set.- Returns:
- the PredictionDistributionDefinitionDistributionsItem object itself.
-
positives
Get the positives property: Number of positives.- Returns:
- the positives value.
-
withPositives
Set the positives property: Number of positives.- Parameters:
positives
- the positives value to set.- Returns:
- the PredictionDistributionDefinitionDistributionsItem object itself.
-
negatives
Get the negatives property: Number of negatives.- Returns:
- the negatives value.
-
withNegatives
Set the negatives property: Number of negatives.- Parameters:
negatives
- the negatives value to set.- Returns:
- the PredictionDistributionDefinitionDistributionsItem object itself.
-
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
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.
-