Class UsageInner
- java.lang.Object
-
- com.azure.resourcemanager.sql.fluent.models.UsageInner
-
public final class UsageInner extends Object
ARM usage.
-
-
Constructor Summary
Constructors Constructor Description UsageInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegercurrentValue()Get the currentValue property: Usage current value.Stringid()Get the id property: Resource ID.Integerlimit()Get the limit property: Usage limit.Namename()Get the name property: Resource name.IntegerrequestedLimit()Get the requestedLimit property: Usage requested limit.Stringtype()Get the type property: Resource type.Stringunit()Get the unit property: Usage unit.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Resource ID.- Returns:
- the id value.
-
name
public Name name()
Get the name property: Resource name.- Returns:
- the name value.
-
type
public String type()
Get the type property: Resource type.- Returns:
- the type value.
-
unit
public String unit()
Get the unit property: Usage unit.- Returns:
- the unit value.
-
currentValue
public Integer currentValue()
Get the currentValue property: Usage current value.- Returns:
- the currentValue value.
-
limit
public Integer limit()
Get the limit property: Usage limit.- Returns:
- the limit value.
-
requestedLimit
public Integer requestedLimit()
Get the requestedLimit property: Usage requested limit.- Returns:
- the requestedLimit value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-