Class KpiThresholds
java.lang.Object
com.azure.resourcemanager.customerinsights.models.KpiThresholds
Defines the KPI Threshold limits.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the increasingKpi property: Whether or not the KPI is an increasing KPI.Get the lowerLimit property: The lower threshold limit.Get the upperLimit property: The upper threshold limit.void
validate()
Validates the instance.withIncreasingKpi
(boolean increasingKpi) Set the increasingKpi property: Whether or not the KPI is an increasing KPI.withLowerLimit
(BigDecimal lowerLimit) Set the lowerLimit property: The lower threshold limit.withUpperLimit
(BigDecimal upperLimit) Set the upperLimit property: The upper threshold limit.
-
Constructor Details
-
KpiThresholds
public KpiThresholds()Creates an instance of KpiThresholds class.
-
-
Method Details
-
lowerLimit
Get the lowerLimit property: The lower threshold limit.- Returns:
- the lowerLimit value.
-
withLowerLimit
Set the lowerLimit property: The lower threshold limit.- Parameters:
lowerLimit
- the lowerLimit value to set.- Returns:
- the KpiThresholds object itself.
-
upperLimit
Get the upperLimit property: The upper threshold limit.- Returns:
- the upperLimit value.
-
withUpperLimit
Set the upperLimit property: The upper threshold limit.- Parameters:
upperLimit
- the upperLimit value to set.- Returns:
- the KpiThresholds object itself.
-
increasingKpi
public boolean increasingKpi()Get the increasingKpi property: Whether or not the KPI is an increasing KPI.- Returns:
- the increasingKpi value.
-
withIncreasingKpi
Set the increasingKpi property: Whether or not the KPI is an increasing KPI.- Parameters:
increasingKpi
- the increasingKpi value to set.- Returns:
- the KpiThresholds object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-