AccountInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cognitiveservices. models. AzureEntityResource - com.
azure. resourcemanager. cognitiveservices. fluent. models. AccountInner
- com.
- com.
- com.
public final class AccountInner
extends AzureEntityResource
Cognitive Services account is an Azure resource representing the provisioned account, it's type, location and SKU.
Constructor Summary
Constructor | Description |
---|---|
AccountInner() |
Creates an instance of Account |
Method Summary
Modifier and Type | Method and Description |
---|---|
Identity |
identity()
Get the identity property: Identity for the resource. |
String |
kind()
Get the kind property: The Kind of the resource. |
String |
location()
Get the location property: The geo-location where the resource lives. |
Account |
properties()
Get the properties property: Properties of Cognitive Services account. |
Sku |
sku()
Get the sku property: The resource model definition representing SKU. |
System |
systemData()
Get the system |
Map<String,String> |
tags()
Get the tags property: Resource tags. |
void |
validate()
Validates the instance. |
Account |
withIdentity(Identity identity)
Set the identity property: Identity for the resource. |
Account |
withKind(String kind)
Set the kind property: The Kind of the resource. |
Account |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
Account |
withProperties(AccountProperties properties)
Set the properties property: Properties of Cognitive Services account. |
Account |
withSku(Sku sku)
Set the sku property: The resource model definition representing SKU. |
Account |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from ProxyResource
Methods inherited from AzureEntityResource
Methods inherited from java.lang.Object
Constructor Details
AccountInner
public AccountInner()
Creates an instance of AccountInner class.
Method Details
identity
public Identity identity()
Get the identity property: Identity for the resource.
Returns:
kind
public String kind()
Get the kind property: The Kind of the resource.
Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
properties
public AccountProperties properties()
Get the properties property: Properties of Cognitive Services account.
Returns:
sku
public Sku sku()
Get the sku property: The resource model definition representing SKU.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
tags
public Map
Get the tags property: Resource tags.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
AccountInner.validate()withIdentity
public AccountInner withIdentity(Identity identity)
Set the identity property: Identity for the resource.
Parameters:
Returns:
withKind
public AccountInner withKind(String kind)
Set the kind property: The Kind of the resource.
Parameters:
Returns:
withLocation
public AccountInner withLocation(String location)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withProperties
public AccountInner withProperties(AccountProperties properties)
Set the properties property: Properties of Cognitive Services account.
Parameters:
Returns:
withSku
public AccountInner withSku(Sku sku)
Set the sku property: The resource model definition representing SKU.
Parameters:
Returns:
withTags
public AccountInner withTags(Map
Set the tags property: Resource tags.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for