Class AccountSku
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.AccountSku
-
public final class AccountSku extends Object
Cognitive Services resource type and SKU.
-
-
Constructor Summary
Constructors Constructor Description AccountSku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
resourceType()
Get the resourceType property: Resource Namespace and Type.Sku
sku()
Get the sku property: The SKU of Cognitive Services account.void
validate()
Validates the instance.AccountSku
withResourceType(String resourceType)
Set the resourceType property: Resource Namespace and Type.AccountSku
withSku(Sku sku)
Set the sku property: The SKU of Cognitive Services account.
-
-
-
Method Detail
-
resourceType
public String resourceType()
Get the resourceType property: Resource Namespace and Type.- Returns:
- the resourceType value.
-
withResourceType
public AccountSku withResourceType(String resourceType)
Set the resourceType property: Resource Namespace and Type.- Parameters:
resourceType
- the resourceType value to set.- Returns:
- the AccountSku object itself.
-
sku
public Sku sku()
Get the sku property: The SKU of Cognitive Services account.- Returns:
- the sku value.
-
withSku
public AccountSku withSku(Sku sku)
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.
-
-