java.lang.Object
com.azure.resourcemanager.storagecache.fluent.models.UsageModelInner

public final class UsageModelInner extends Object
A usage model.
  • Constructor Details

    • UsageModelInner

      public UsageModelInner()
  • Method Details

    • display

      public UsageModelDisplay display()
      Get the display property: Localized information describing this usage model.
      Returns:
      the display value.
    • withDisplay

      public UsageModelInner withDisplay(UsageModelDisplay display)
      Set the display property: Localized information describing this usage model.
      Parameters:
      display - the display value to set.
      Returns:
      the UsageModelInner object itself.
    • modelName

      public String modelName()
      Get the modelName property: Non-localized keyword name for this usage model.
      Returns:
      the modelName value.
    • withModelName

      public UsageModelInner withModelName(String modelName)
      Set the modelName property: Non-localized keyword name for this usage model.
      Parameters:
      modelName - the modelName value to set.
      Returns:
      the UsageModelInner object itself.
    • targetType

      public String targetType()
      Get the targetType property: The type of Storage Target to which this model is applicable (only nfs3 as of this version).
      Returns:
      the targetType value.
    • withTargetType

      public UsageModelInner withTargetType(String targetType)
      Set the targetType property: The type of Storage Target to which this model is applicable (only nfs3 as of this version).
      Parameters:
      targetType - the targetType value to set.
      Returns:
      the UsageModelInner object itself.
    • validate

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