Class WarmStoragePropertiesUsageStateDetails

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.fluent.models.WarmStoragePropertiesUsageStateDetails

public final class WarmStoragePropertiesUsageStateDetails extends Object
An object that contains the details about warm storage properties usage state.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of WarmStoragePropertiesUsageStateDetails class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the currentCount property: A value that represents the number of properties used by the environment for S1/S2 SKU and number of properties used by Warm Store for PAYG SKU.
    Get the maxCount property: A value that represents the maximum number of properties used allowed by the environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.
    void
    Validates the instance.
    withCurrentCount(Integer currentCount)
    Set the currentCount property: A value that represents the number of properties used by the environment for S1/S2 SKU and number of properties used by Warm Store for PAYG SKU.
    Set the maxCount property: A value that represents the maximum number of properties used allowed by the environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WarmStoragePropertiesUsageStateDetails

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

    • currentCount

      public Integer currentCount()
      Get the currentCount property: A value that represents the number of properties used by the environment for S1/S2 SKU and number of properties used by Warm Store for PAYG SKU.
      Returns:
      the currentCount value.
    • withCurrentCount

      public WarmStoragePropertiesUsageStateDetails withCurrentCount(Integer currentCount)
      Set the currentCount property: A value that represents the number of properties used by the environment for S1/S2 SKU and number of properties used by Warm Store for PAYG SKU.
      Parameters:
      currentCount - the currentCount value to set.
      Returns:
      the WarmStoragePropertiesUsageStateDetails object itself.
    • maxCount

      public Integer maxCount()
      Get the maxCount property: A value that represents the maximum number of properties used allowed by the environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.
      Returns:
      the maxCount value.
    • withMaxCount

      public WarmStoragePropertiesUsageStateDetails withMaxCount(Integer maxCount)
      Set the maxCount property: A value that represents the maximum number of properties used allowed by the environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.
      Parameters:
      maxCount - the maxCount value to set.
      Returns:
      the WarmStoragePropertiesUsageStateDetails object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.