java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.cognitiveservices.models.AzureEntityResource
com.azure.resourcemanager.cognitiveservices.fluent.models.AccountInner

public final class AccountInner extends AzureEntityResource
Cognitive Services account is an Azure resource representing the provisioned account, it's type, location and SKU.
  • Constructor Details

    • AccountInner

      public AccountInner()
  • Method Details

    • kind

      public String kind()
      Get the kind property: The Kind of the resource.
      Returns:
      the kind value.
    • withKind

      public AccountInner withKind(String kind)
      Set the kind property: The Kind of the resource.
      Parameters:
      kind - the kind value to set.
      Returns:
      the AccountInner object itself.
    • sku

      public Sku sku()
      Get the sku property: The resource model definition representing SKU.
      Returns:
      the sku value.
    • withSku

      public AccountInner withSku(Sku sku)
      Set the sku property: The resource model definition representing SKU.
      Parameters:
      sku - the sku value to set.
      Returns:
      the AccountInner object itself.
    • identity

      public Identity identity()
      Get the identity property: Identity for the resource.
      Returns:
      the identity value.
    • withIdentity

      public AccountInner withIdentity(Identity identity)
      Set the identity property: Identity for the resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the AccountInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public AccountInner withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the AccountInner object itself.
    • location

      public String location()
      Get the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • withLocation

      public AccountInner withLocation(String location)
      Set the location property: The geo-location where the resource lives.
      Parameters:
      location - the location value to set.
      Returns:
      the AccountInner object itself.
    • properties

      public AccountProperties properties()
      Get the properties property: Properties of Cognitive Services account.
      Returns:
      the properties value.
    • withProperties

      public AccountInner withProperties(AccountProperties properties)
      Set the properties property: Properties of Cognitive Services account.
      Parameters:
      properties - the properties value to set.
      Returns:
      the AccountInner object itself.
    • validate

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