CognitiveServicesResourceAndSku Class
- java.
lang. Object - com.
microsoft. azure. management. cognitiveservices. CognitiveServicesResourceAndSku
- com.
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 resource |
com.microsoft.azure.management.cognitiveservices.implementation.SkuInner |
sku()
Get the sku value. |
Cognitive |
withResourceType(String resourceType)
Set the resource |
Cognitive |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java