Class AccountInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.cognitiveservices.models.AzureEntityResource
com.azure.resourcemanager.cognitiveservices.fluent.models.AccountInner
Cognitive Services account is an Azure resource representing the provisioned account, it's type, location and SKU.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: Identity for the resource.kind()
Get the kind property: The Kind of the resource.location()
Get the location property: The geo-location where the resource lives.Get the properties property: Properties of Cognitive Services account.sku()
Get the sku property: The resource model definition representing SKU.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.withIdentity
(Identity identity) Set the identity property: Identity for the resource.Set the kind property: The Kind of the resource.withLocation
(String location) Set the location property: The geo-location where the resource lives.withProperties
(AccountProperties properties) Set the properties property: Properties of Cognitive Services account.Set the sku property: The resource model definition representing SKU.Set the tags property: Resource tags.Methods inherited from class com.azure.resourcemanager.cognitiveservices.models.AzureEntityResource
etag
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AccountInner
public AccountInner()
-
-
Method Details
-
kind
Get the kind property: The Kind of the resource.- Returns:
- the kind value.
-
withKind
Set the kind property: The Kind of the resource.- Parameters:
kind
- the kind value to set.- Returns:
- the AccountInner object itself.
-
sku
Get the sku property: The resource model definition representing SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: The resource model definition representing SKU.- Parameters:
sku
- the sku value to set.- Returns:
- the AccountInner object itself.
-
identity
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity for the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the AccountInner 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.
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the AccountInner object itself.
-
location
Get the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
withLocation
Set the location property: The geo-location where the resource lives.- Parameters:
location
- the location value to set.- Returns:
- the AccountInner object itself.
-
properties
Get the properties property: Properties of Cognitive Services account.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties of Cognitive Services account.- Parameters:
properties
- the properties value to set.- Returns:
- the AccountInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAzureEntityResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-