AccountInner Class

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 AccountInner class.

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.

AccountProperties properties()

Get the properties property: Properties of Cognitive Services account.

Sku sku()

Get the sku property: The resource model definition representing SKU.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Map<String,String> tags()

Get the tags property: Resource tags.

void validate()

Validates the instance.

AccountInner withIdentity(Identity identity)

Set the identity property: Identity for the resource.

AccountInner withKind(String kind)

Set the kind property: The Kind of the resource.

AccountInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

AccountInner withProperties(AccountProperties properties)

Set the properties property: Properties of Cognitive Services account.

AccountInner withSku(Sku sku)

Set the sku property: The resource model definition representing SKU.

AccountInner 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:

the identity value.

kind

public String kind()

Get the kind property: The Kind of the resource.

Returns:

the kind value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

properties

public AccountProperties properties()

Get the properties property: Properties of Cognitive Services account.

Returns:

the properties value.

sku

public Sku sku()

Get the sku property: The resource model definition representing SKU.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

tags

public Map tags()

Get the tags property: Resource tags.

Returns:

the tags value.

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:

identity - the identity value to set.

Returns:

the AccountInner object itself.

withKind

public AccountInner withKind(String kind)

Set the kind property: The Kind of the resource.

Parameters:

kind - the kind value to set.

Returns:

the AccountInner object itself.

withLocation

public AccountInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

Parameters:

location - the location value to set.

Returns:

the AccountInner object itself.

withProperties

public AccountInner withProperties(AccountProperties properties)

Set the properties property: Properties of Cognitive Services account.

Parameters:

properties - the properties value to set.

Returns:

the AccountInner object itself.

withSku

public AccountInner withSku(Sku sku)

Set the sku property: The resource model definition representing SKU.

Parameters:

sku - the sku value to set.

Returns:

the AccountInner object itself.

withTags

public AccountInner withTags(Map tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the AccountInner object itself.

Applies to