KpiThresholds Class

  • java.lang.Object
    • com.azure.resourcemanager.customerinsights.models.KpiThresholds

public final class KpiThresholds

Defines the KPI Threshold limits.

Constructor Summary

Constructor Description
KpiThresholds()

Creates an instance of KpiThresholds class.

Method Summary

Modifier and Type Method and Description
boolean increasingKpi()

Get the increasingKpi property: Whether or not the KPI is an increasing KPI.

BigDecimal lowerLimit()

Get the lowerLimit property: The lower threshold limit.

BigDecimal upperLimit()

Get the upperLimit property: The upper threshold limit.

void validate()

Validates the instance.

KpiThresholds withIncreasingKpi(boolean increasingKpi)

Set the increasingKpi property: Whether or not the KPI is an increasing KPI.

KpiThresholds withLowerLimit(BigDecimal lowerLimit)

Set the lowerLimit property: The lower threshold limit.

KpiThresholds withUpperLimit(BigDecimal upperLimit)

Set the upperLimit property: The upper threshold limit.

Methods inherited from java.lang.Object

Constructor Details

KpiThresholds

public KpiThresholds()

Creates an instance of KpiThresholds class.

Method Details

increasingKpi

public boolean increasingKpi()

Get the increasingKpi property: Whether or not the KPI is an increasing KPI.

Returns:

the increasingKpi value.

lowerLimit

public BigDecimal lowerLimit()

Get the lowerLimit property: The lower threshold limit.

Returns:

the lowerLimit value.

upperLimit

public BigDecimal upperLimit()

Get the upperLimit property: The upper threshold limit.

Returns:

the upperLimit value.

validate

public void validate()

Validates the instance.

withIncreasingKpi

public KpiThresholds withIncreasingKpi(boolean increasingKpi)

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.

withLowerLimit

public KpiThresholds withLowerLimit(BigDecimal lowerLimit)

Set the lowerLimit property: The lower threshold limit.

Parameters:

lowerLimit - the lowerLimit value to set.

Returns:

the KpiThresholds object itself.

withUpperLimit

public KpiThresholds withUpperLimit(BigDecimal upperLimit)

Set the upperLimit property: The upper threshold limit.

Parameters:

upperLimit - the upperLimit value to set.

Returns:

the KpiThresholds object itself.

Applies to