SkuCapability Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. SkuCapability
- com.
Implements
public final class SkuCapability
implements JsonSerializable<SkuCapability>
A SKU capability, such as the number of cores.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sku |
fromJson(JsonReader jsonReader)
Reads an instance of Sku |
| String |
name()
Get the name property: The name of the feature. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: The value of the feature. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static SkuCapability fromJson(JsonReader jsonReader)
Reads an instance of SkuCapability from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the feature.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The value of the feature.
Returns: