Class SkuDetailsForExistingResource

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

public final class SkuDetailsForExistingResource extends Object
An object that represents SKU details for existing resources.
  • Constructor Details

    • SkuDetailsForExistingResource

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

    • resourceType

      public String resourceType()
      Get the resourceType property: The resource type.
      Returns:
      the resourceType value.
    • withResourceType

      public SkuDetailsForExistingResource withResourceType(String resourceType)
      Set the resourceType property: The resource type.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the SkuDetailsForExistingResource object itself.
    • sku

      public CapacitySku sku()
      Get the sku property: The SKU in SKU details for existing resources.
      Returns:
      the sku value.
    • withSku

      Set the sku property: The SKU in SKU details for existing resources.
      Parameters:
      sku - the sku value to set.
      Returns:
      the SkuDetailsForExistingResource object itself.
    • validate

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