MaxSizeCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. MaxSizeCapability
- com.
Implements
public final class MaxSizeCapability
implements JsonSerializable<MaxSizeCapability>
The maximum size capability.
Constructor Summary
Constructor | Description |
---|---|
MaxSizeCapability() |
Creates an instance of Max |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Max |
fromJson(JsonReader jsonReader)
Reads an instance of Max |
Integer |
limit()
Get the limit property: The maximum size limit (see 'unit' for the units). |
Json |
toJson(JsonWriter jsonWriter) |
Max |
unit()
Get the unit property: The units that the limit is expressed in. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
MaxSizeCapability
public MaxSizeCapability()
Creates an instance of MaxSizeCapability class.
Method Details
fromJson
public static MaxSizeCapability fromJson(JsonReader jsonReader)
Reads an instance of MaxSizeCapability from the JsonReader.
Parameters:
Returns:
Throws:
limit
public Integer limit()
Get the limit property: The maximum size limit (see 'unit' for the units).
Returns:
toJson
unit
public MaxSizeUnit unit()
Get the unit property: The units that the limit is expressed in.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java