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

public final class Sku extends Object
The sku type.
  • Constructor Details

    • Sku

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

    • name

      public SkuName name()
      Get the name property: The name.
      Returns:
      the name value.
    • withName

      public Sku withName(SkuName name)
      Set the name property: The name.
      Parameters:
      name - the name value to set.
      Returns:
      the Sku object itself.
    • plan

      public ResourceReference plan()
      Get the plan property: The reference to plan.
      Returns:
      the plan value.
    • withPlan

      public Sku withPlan(ResourceReference plan)
      Set the plan property: The reference to plan.
      Parameters:
      plan - the plan value to set.
      Returns:
      the Sku object itself.
    • validate

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