java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.DeploymentModel
Direct Known Subclasses:
AccountModelInner

public class DeploymentModel extends Object
Properties of Cognitive Services account deployment model.
  • Constructor Details

    • DeploymentModel

      public DeploymentModel()
  • Method Details

    • format

      public String format()
      Get the format property: Deployment model format.
      Returns:
      the format value.
    • withFormat

      public DeploymentModel withFormat(String format)
      Set the format property: Deployment model format.
      Parameters:
      format - the format value to set.
      Returns:
      the DeploymentModel object itself.
    • name

      public String name()
      Get the name property: Deployment model name.
      Returns:
      the name value.
    • withName

      public DeploymentModel withName(String name)
      Set the name property: Deployment model name.
      Parameters:
      name - the name value to set.
      Returns:
      the DeploymentModel object itself.
    • version

      public String version()
      Get the version property: Deployment model version.
      Returns:
      the version value.
    • withVersion

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

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