Class MaxSizeCapability
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.MaxSizeCapability
-
public final class MaxSizeCapability extends Object
The maximum size capability.
-
-
Constructor Summary
Constructors Constructor Description MaxSizeCapability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerlimit()Get the limit property: The maximum size limit (see 'unit' for the units).MaxSizeUnitunit()Get the unit property: The units that the limit is expressed in.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
limit
public Integer limit()
Get the limit property: The maximum size limit (see 'unit' for the units).- Returns:
- the limit value.
-
unit
public MaxSizeUnit unit()
Get the unit property: The units that the limit is expressed in.- Returns:
- the unit value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-