Class SkuCapability
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.SkuCapability
-
public final class SkuCapability extends Object
SkuCapability indicates the capability of a certain feature.
-
-
Constructor Summary
Constructors Constructor Description SkuCapability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: The name of the SkuCapability.void
validate()
Validates the instance.String
value()
Get the value property: The value of the SkuCapability.SkuCapability
withName(String name)
Set the name property: The name of the SkuCapability.SkuCapability
withValue(String value)
Set the value property: The value of the SkuCapability.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the SkuCapability.- Returns:
- the name value.
-
withName
public SkuCapability withName(String name)
Set the name property: The name of the SkuCapability.- Parameters:
name
- the name value to set.- Returns:
- the SkuCapability object itself.
-
value
public String value()
Get the value property: The value of the SkuCapability.- Returns:
- the value value.
-
withValue
public SkuCapability withValue(String value)
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.
-
-