SkuDetails Class
- java.
lang. Object - com.
azure. resourcemanager. redisenterprise. models. SkuDetails
- com.
Implements
public final class SkuDetails
implements JsonSerializable<SkuDetails>
SKU details Details of a Redis Enterprise cluster SKU.
Constructor Summary
| Constructor | Description |
|---|---|
| SkuDetails() |
Creates an instance of Sku |
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 SKU. |
| Float |
sizeInGB()
Get the size |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
SkuDetails
public SkuDetails()
Creates an instance of SkuDetails class.
Method Details
fromJson
public static SkuDetails fromJson(JsonReader jsonReader)
Reads an instance of SkuDetails from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the SKU.
Returns:
sizeInGB
public Float sizeInGB()
Get the sizeInGB property: The cache size in GB.
Returns:
toJson
validate
public void validate()
Validates the instance.