Class DeploymentModel
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.DeploymentModel
- Direct Known Subclasses:
AccountModelInner
Properties of Cognitive Services account deployment model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionformat()
Get the format property: Deployment model format.name()
Get the name property: Deployment model name.void
validate()
Validates the instance.version()
Get the version property: Deployment model version.withFormat
(String format) Set the format property: Deployment model format.Set the name property: Deployment model name.withVersion
(String version) Set the version property: Deployment model version.
-
Constructor Details
-
DeploymentModel
public DeploymentModel()
-
-
Method Details
-
format
Get the format property: Deployment model format.- Returns:
- the format value.
-
withFormat
Set the format property: Deployment model format.- Parameters:
format
- the format value to set.- Returns:
- the DeploymentModel object itself.
-
name
Get the name property: Deployment model name.- Returns:
- the name value.
-
withName
Set the name property: Deployment model name.- Parameters:
name
- the name value to set.- Returns:
- the DeploymentModel object itself.
-
version
Get the version property: Deployment model version.- Returns:
- the version value.
-
withVersion
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.
-