SkuCapacity Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.SkuCapacity

Implements

public final class SkuCapacity
implements JsonSerializable<SkuCapacity>

Capacity of the sku.

Constructor Summary

Constructor Description
SkuCapacity()

Creates an instance of SkuCapacity class.

Method Summary

Modifier and Type Method and Description
static SkuCapacity fromJson(JsonReader jsonReader)

Reads an instance of SkuCapacity from the JsonReader.

String maximum()

Get the maximum property: Maximum capacity in TB.

JsonWriter toJson(JsonWriter jsonWriter)
String usable()

Get the usable property: Usable capacity in TB.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SkuCapacity

public SkuCapacity()

Creates an instance of SkuCapacity class.

Method Details

fromJson

public static SkuCapacity fromJson(JsonReader jsonReader)

Reads an instance of SkuCapacity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SkuCapacity if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SkuCapacity.

maximum

public String maximum()

Get the maximum property: Maximum capacity in TB.

Returns:

the maximum value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

usable

public String usable()

Get the usable property: Usable capacity in TB.

Returns:

the usable value.

validate

public void validate()

Validates the instance.

Applies to