Class AutoScaleVCoreSku

java.lang.Object
com.azure.resourcemanager.powerbidedicated.models.AutoScaleVCoreSku

public final class AutoScaleVCoreSku extends Object
Represents the SKU name and Azure pricing tier for auto scale v-core resource.
  • Constructor Details

    • AutoScaleVCoreSku

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

    • name

      public String name()
      Get the name property: Name of the SKU level.
      Returns:
      the name value.
    • withName

      public AutoScaleVCoreSku withName(String name)
      Set the name property: Name of the SKU level.
      Parameters:
      name - the name value to set.
      Returns:
      the AutoScaleVCoreSku object itself.
    • tier

      public VCoreSkuTier tier()
      Get the tier property: The name of the Azure pricing tier to which the SKU applies.
      Returns:
      the tier value.
    • withTier

      public AutoScaleVCoreSku withTier(VCoreSkuTier tier)
      Set the tier property: The name of the Azure pricing tier to which the SKU applies.
      Parameters:
      tier - the tier value to set.
      Returns:
      the AutoScaleVCoreSku object itself.
    • capacity

      public Integer capacity()
      Get the capacity property: The capacity of an auto scale v-core resource.
      Returns:
      the capacity value.
    • withCapacity

      public AutoScaleVCoreSku withCapacity(Integer capacity)
      Set the capacity property: The capacity of an auto scale v-core resource.
      Parameters:
      capacity - the capacity value to set.
      Returns:
      the AutoScaleVCoreSku object itself.
    • validate

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