java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.DeploymentModel
com.azure.resourcemanager.cognitiveservices.fluent.models.AccountModelInner

public final class AccountModelInner extends DeploymentModel
Cognitive Services account Model.
  • Constructor Details

    • AccountModelInner

      public AccountModelInner()
  • Method Details

    • baseModel

      public DeploymentModel baseModel()
      Get the baseModel property: Base Model Identifier.
      Returns:
      the baseModel value.
    • withBaseModel

      public AccountModelInner withBaseModel(DeploymentModel baseModel)
      Set the baseModel property: Base Model Identifier.
      Parameters:
      baseModel - the baseModel value to set.
      Returns:
      the AccountModelInner object itself.
    • maxCapacity

      public Integer maxCapacity()
      Get the maxCapacity property: The max capacity.
      Returns:
      the maxCapacity value.
    • withMaxCapacity

      public AccountModelInner withMaxCapacity(Integer maxCapacity)
      Set the maxCapacity property: The max capacity.
      Parameters:
      maxCapacity - the maxCapacity value to set.
      Returns:
      the AccountModelInner object itself.
    • capabilities

      public Map<String,String> capabilities()
      Get the capabilities property: The capabilities.
      Returns:
      the capabilities value.
    • withCapabilities

      public AccountModelInner withCapabilities(Map<String,String> capabilities)
      Set the capabilities property: The capabilities.
      Parameters:
      capabilities - the capabilities value to set.
      Returns:
      the AccountModelInner object itself.
    • deprecation

      public ModelDeprecationInfo deprecation()
      Get the deprecation property: Cognitive Services account ModelDeprecationInfo.
      Returns:
      the deprecation value.
    • withDeprecation

      public AccountModelInner withDeprecation(ModelDeprecationInfo deprecation)
      Set the deprecation property: Cognitive Services account ModelDeprecationInfo.
      Parameters:
      deprecation - the deprecation value to set.
      Returns:
      the AccountModelInner 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.
    • withFormat

      public AccountModelInner withFormat(String format)
      Set the format property: Deployment model format.
      Overrides:
      withFormat in class DeploymentModel
      Parameters:
      format - the format value to set.
      Returns:
      the DeploymentModel object itself.
    • withName

      public AccountModelInner withName(String name)
      Set the name property: Deployment model name.
      Overrides:
      withName in class DeploymentModel
      Parameters:
      name - the name value to set.
      Returns:
      the DeploymentModel object itself.
    • withVersion

      public AccountModelInner withVersion(String version)
      Set the version property: Deployment model version.
      Overrides:
      withVersion in class DeploymentModel
      Parameters:
      version - the version value to set.
      Returns:
      the DeploymentModel object itself.
    • validate

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