java.lang.Object
com.azure.resourcemanager.devspaces.models.Sku

public final class Sku extends Object
Model representing SKU for Azure Dev Spaces Controller.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Sku()
    Creates an instance of Sku class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name property: The name of the SKU for Azure Dev Spaces Controller.
    Get the tier property: The tier of the SKU for Azure Dev Spaces Controller.
    void
    Validates the instance.
    Set the name property: The name of the SKU for Azure Dev Spaces Controller.
    Set the tier property: The tier of the SKU for Azure Dev Spaces Controller.

    Methods inherited from class java.lang.Object

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

    • Sku

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

    • name

      public SkuName name()
      Get the name property: The name of the SKU for Azure Dev Spaces Controller.
      Returns:
      the name value.
    • withName

      public Sku withName(SkuName name)
      Set the name property: The name of the SKU for Azure Dev Spaces Controller.
      Parameters:
      name - the name value to set.
      Returns:
      the Sku object itself.
    • tier

      public SkuTier tier()
      Get the tier property: The tier of the SKU for Azure Dev Spaces Controller.
      Returns:
      the tier value.
    • withTier

      public Sku withTier(SkuTier tier)
      Set the tier property: The tier of the SKU for Azure Dev Spaces Controller.
      Parameters:
      tier - the tier value to set.
      Returns:
      the Sku object itself.
    • validate

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