Class SkuCapability
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.SkuCapability
SkuCapability indicates the capability of a certain feature.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The name of the SkuCapability.void
validate()
Validates the instance.value()
Get the value property: The value of the SkuCapability.Set the name property: The name of the SkuCapability.Set the value property: The value of the SkuCapability.
-
Constructor Details
-
SkuCapability
public SkuCapability()
-
-
Method Details
-
name
Get the name property: The name of the SkuCapability.- Returns:
- the name value.
-
withName
Set the name property: The name of the SkuCapability.- Parameters:
name
- the name value to set.- Returns:
- the SkuCapability object itself.
-
value
Get the value property: The value of the SkuCapability.- Returns:
- the value value.
-
withValue
Set the value property: The value of the SkuCapability.- Parameters:
value
- the value value to set.- Returns:
- the SkuCapability object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-