Class PercentageCostThresholdProperties

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.PercentageCostThresholdProperties

public final class PercentageCostThresholdProperties extends Object
Properties of a percentage cost threshold.
  • Constructor Details

    • PercentageCostThresholdProperties

      public PercentageCostThresholdProperties()
      Creates an instance of PercentageCostThresholdProperties class.
  • Method Details

    • thresholdValue

      public Double thresholdValue()
      Get the thresholdValue property: The cost threshold value.
      Returns:
      the thresholdValue value.
    • withThresholdValue

      public PercentageCostThresholdProperties withThresholdValue(Double thresholdValue)
      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.