Class AccountModelInner
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.DeploymentModel
com.azure.resourcemanager.cognitiveservices.fluent.models.AccountModelInner
Cognitive Services account Model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the baseModel property: Base Model Identifier.Get the capabilities property: The capabilities.Get the deprecation property: Cognitive Services account ModelDeprecationInfo.Get the maxCapacity property: The max capacity.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.withBaseModel
(DeploymentModel baseModel) Set the baseModel property: Base Model Identifier.withCapabilities
(Map<String, String> capabilities) Set the capabilities property: The capabilities.withDeprecation
(ModelDeprecationInfo deprecation) Set the deprecation property: Cognitive Services account ModelDeprecationInfo.withFormat
(String format) Set the format property: Deployment model format.withMaxCapacity
(Integer maxCapacity) Set the maxCapacity property: The max capacity.Set the name property: Deployment model name.withVersion
(String version) Set the version property: Deployment model version.Methods inherited from class com.azure.resourcemanager.cognitiveservices.models.DeploymentModel
format, name, version
-
Constructor Details
-
AccountModelInner
public AccountModelInner()
-
-
Method Details
-
baseModel
Get the baseModel property: Base Model Identifier.- Returns:
- the baseModel value.
-
withBaseModel
Set the baseModel property: Base Model Identifier.- Parameters:
baseModel
- the baseModel value to set.- Returns:
- the AccountModelInner object itself.
-
maxCapacity
Get the maxCapacity property: The max capacity.- Returns:
- the maxCapacity value.
-
withMaxCapacity
Set the maxCapacity property: The max capacity.- Parameters:
maxCapacity
- the maxCapacity value to set.- Returns:
- the AccountModelInner object itself.
-
capabilities
Get the capabilities property: The capabilities.- Returns:
- the capabilities value.
-
withCapabilities
Set the capabilities property: The capabilities.- Parameters:
capabilities
- the capabilities value to set.- Returns:
- the AccountModelInner object itself.
-
deprecation
Get the deprecation property: Cognitive Services account ModelDeprecationInfo.- Returns:
- the deprecation value.
-
withDeprecation
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
Set the format property: Deployment model format.- Overrides:
withFormat
in classDeploymentModel
- Parameters:
format
- the format value to set.- Returns:
- the DeploymentModel object itself.
-
withName
Set the name property: Deployment model name.- Overrides:
withName
in classDeploymentModel
- Parameters:
name
- the name value to set.- Returns:
- the DeploymentModel object itself.
-
withVersion
Set the version property: Deployment model version.- Overrides:
withVersion
in classDeploymentModel
- Parameters:
version
- the version value to set.- Returns:
- the DeploymentModel object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDeploymentModel
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-