java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.AccountSku

public final class AccountSku extends Object
Cognitive Services resource type and SKU.
  • Constructor Details

    • AccountSku

      public AccountSku()
  • Method Details

    • resourceType

      public String resourceType()
      Get the resourceType property: Resource Namespace and Type.
      Returns:
      the resourceType value.
    • withResourceType

      public AccountSku withResourceType(String resourceType)
      Set the resourceType property: Resource Namespace and Type.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the AccountSku object itself.
    • sku

      public Sku sku()
      Get the sku property: The SKU of Cognitive Services account.
      Returns:
      the sku value.
    • withSku

      public AccountSku withSku(Sku sku)
      Set the sku property: The SKU of Cognitive Services account.
      Parameters:
      sku - the sku value to set.
      Returns:
      the AccountSku object itself.
    • validate

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