Capacity Class
- java.
lang. Object - com.
azure. resourcemanager. dell. storage. models. Capacity
- com.
Implements
public final class Capacity
implements JsonSerializable<Capacity>
Capacity for a Resource.
Constructor Summary
| Constructor | Description |
|---|---|
| Capacity() |
Creates an instance of Capacity class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
current()
Get the current property: Current Capacity of the resource. |
| static Capacity |
fromJson(JsonReader jsonReader)
Reads an instance of Capacity from the Json |
| String |
incremental()
Get the incremental property: Units to be increased. |
| String |
max()
Get the max property: Maximum Capacity. |
| String |
min()
Get the min property: Minimum Capacity. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Capacity |
withCurrent(String current)
Set the current property: Current Capacity of the resource. |
| Capacity |
withIncremental(String incremental)
Set the incremental property: Units to be increased. |
| Capacity |
withMax(String max)
Set the max property: Maximum Capacity. |
| Capacity |
withMin(String min)
Set the min property: Minimum Capacity. |
Methods inherited from java.lang.Object
Constructor Details
Capacity
public Capacity()
Creates an instance of Capacity class.
Method Details
current
public String current()
Get the current property: Current Capacity of the resource.
Returns:
fromJson
public static Capacity fromJson(JsonReader jsonReader)
Reads an instance of Capacity from the JsonReader.
Parameters:
Returns:
Throws:
incremental
public String incremental()
Get the incremental property: Units to be increased.
Returns:
max
public String max()
Get the max property: Maximum Capacity.
Returns:
min
public String min()
Get the min property: Minimum Capacity.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCurrent
public Capacity withCurrent(String current)
Set the current property: Current Capacity of the resource.
Parameters:
Returns:
withIncremental
public Capacity withIncremental(String incremental)
Set the incremental property: Units to be increased.
Parameters:
Returns:
withMax
public Capacity withMax(String max)
Set the max property: Maximum Capacity.
Parameters:
Returns:
withMin
public Capacity withMin(String min)
Set the min property: Minimum Capacity.
Parameters:
Returns: