Class AccountSku
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.AccountSku
Cognitive Services resource type and SKU.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the resourceType property: Resource Namespace and Type.sku()
Get the sku property: The SKU of Cognitive Services account.void
validate()
Validates the instance.withResourceType
(String resourceType) Set the resourceType property: Resource Namespace and Type.Set the sku property: The SKU of Cognitive Services account.
-
Constructor Details
-
AccountSku
public AccountSku()
-
-
Method Details
-
resourceType
Get the resourceType property: Resource Namespace and Type.- Returns:
- the resourceType value.
-
withResourceType
Set the resourceType property: Resource Namespace and Type.- Parameters:
resourceType
- the resourceType value to set.- Returns:
- the AccountSku object itself.
-
sku
Get the sku property: The SKU of Cognitive Services account.- Returns:
- the sku value.
-
withSku
Set the sku property: The SKU of Cognitive Services account.- Parameters:
sku
- the sku value to set.- Returns:
- the AccountSku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-