你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CognitiveServicesResourceAndSku Class

  • java.lang.Object
    • com.microsoft.azure.management.cognitiveservices.CognitiveServicesResourceAndSku

public class CognitiveServicesResourceAndSku

Cognitive Services resource type and SKU.

Constructor Summary

Constructor Description
CognitiveServicesResourceAndSku()

Method Summary

Modifier and Type Method and Description
java.lang.String resourceType()

Get the resourceType value.

com.microsoft.azure.management.cognitiveservices.implementation.SkuInner sku()

Get the sku value.

CognitiveServicesResourceAndSku withResourceType(String resourceType)

Set the resourceType value.

CognitiveServicesResourceAndSku withSku(SkuInner sku)

Set the sku value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CognitiveServicesResourceAndSku

public CognitiveServicesResourceAndSku()

Method Details

resourceType

public String resourceType()

Get the resourceType value.

Returns:

the resourceType value

sku

public SkuInner sku()

Get the sku value.

Returns:

the sku value

withResourceType

public CognitiveServicesResourceAndSku withResourceType(String resourceType)

Set the resourceType value.

Parameters:

resourceType - the resourceType value to set

Returns:

the CognitiveServicesResourceAndSku object itself.

withSku

public CognitiveServicesResourceAndSku withSku(SkuInner sku)

Set the sku value.

Parameters:

sku - the sku value to set

Returns:

the CognitiveServicesResourceAndSku object itself.

Applies to