Class DeploymentModel
- 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 Summary
Constructors Constructor Description DeploymentModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format()
Get the format property: Deployment model format.String
name()
Get the name property: Deployment model name.void
validate()
Validates the instance.String
version()
Get the version property: Deployment model version.DeploymentModel
withFormat(String format)
Set the format property: Deployment model format.DeploymentModel
withName(String name)
Set the name property: Deployment model name.DeploymentModel
withVersion(String version)
Set the version property: Deployment model version.
-
-
-
Method Detail
-
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.
-
-