Class AccountModelInner
- 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 Summary
Constructors Constructor Description AccountModelInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentModel
baseModel()
Get the baseModel property: Base Model Identifier.Map<String,String>
capabilities()
Get the capabilities property: The capabilities.ModelDeprecationInfo
deprecation()
Get the deprecation property: Cognitive Services account ModelDeprecationInfo.Integer
maxCapacity()
Get the maxCapacity property: The max capacity.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.AccountModelInner
withBaseModel(DeploymentModel baseModel)
Set the baseModel property: Base Model Identifier.AccountModelInner
withCapabilities(Map<String,String> capabilities)
Set the capabilities property: The capabilities.AccountModelInner
withDeprecation(ModelDeprecationInfo deprecation)
Set the deprecation property: Cognitive Services account ModelDeprecationInfo.AccountModelInner
withFormat(String format)
Set the format property: Deployment model format.AccountModelInner
withMaxCapacity(Integer maxCapacity)
Set the maxCapacity property: The max capacity.AccountModelInner
withName(String name)
Set the name property: Deployment model name.AccountModelInner
withVersion(String version)
Set the version property: Deployment model version.-
Methods inherited from class com.azure.resourcemanager.cognitiveservices.models.DeploymentModel
format, name, version
-
-
-
-
Method Detail
-
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 classDeploymentModel
- 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 classDeploymentModel
- 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 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.
-
-