Class PercentageCostThresholdProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.PercentageCostThresholdProperties
Properties of a percentage cost threshold.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PercentageCostThresholdProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the thresholdValue property: The cost threshold value.void
validate()
Validates the instance.withThresholdValue
(Double thresholdValue) Set the thresholdValue property: The cost threshold value.
-
Constructor Details
-
PercentageCostThresholdProperties
public PercentageCostThresholdProperties()Creates an instance of PercentageCostThresholdProperties class.
-
-
Method Details
-
thresholdValue
Get the thresholdValue property: The cost threshold value.- Returns:
- the thresholdValue value.
-
withThresholdValue
Set the thresholdValue property: The cost threshold value.- Parameters:
thresholdValue
- the thresholdValue value to set.- Returns:
- the PercentageCostThresholdProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-