Class WarmStoragePropertiesUsage

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

public final class WarmStoragePropertiesUsage extends Object
An object that contains the status of warm storage properties usage.
  • Constructor Details

    • WarmStoragePropertiesUsage

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

    • state

      Get the state property: This string represents the state of warm storage properties usage. It can be "Ok", "Error", "Unknown".
      Returns:
      the state value.
    • withState

      Set the state property: This string represents the state of warm storage properties usage. It can be "Ok", "Error", "Unknown".
      Parameters:
      state - the state value to set.
      Returns:
      the WarmStoragePropertiesUsage object itself.
    • 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 WarmStoragePropertiesUsage 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 WarmStoragePropertiesUsage 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 WarmStoragePropertiesUsage 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 WarmStoragePropertiesUsage object itself.
    • validate

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