Class DatabaseUsageInner
- java.lang.Object
-
- com.azure.resourcemanager.sql.fluent.models.DatabaseUsageInner
-
public final class DatabaseUsageInner extends Object
The database usages.
-
-
Constructor Summary
Constructors Constructor Description DatabaseUsageInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublecurrentValue()Get the currentValue property: The current value of the usage metric.StringdisplayName()Get the displayName property: The usage metric display name.Doublelimit()Get the limit property: The current limit of the usage metric.Stringname()Get the name property: The name of the usage metric.OffsetDateTimenextResetTime()Get the nextResetTime property: The next reset time for the usage metric (ISO8601 format).StringresourceName()Get the resourceName property: The name of the resource.Stringunit()Get the unit property: The units of the usage metric.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the usage metric.- Returns:
- the name value.
-
resourceName
public String resourceName()
Get the resourceName property: The name of the resource.- Returns:
- the resourceName value.
-
displayName
public String displayName()
Get the displayName property: The usage metric display name.- Returns:
- the displayName value.
-
currentValue
public Double currentValue()
Get the currentValue property: The current value of the usage metric.- Returns:
- the currentValue value.
-
limit
public Double limit()
Get the limit property: The current limit of the usage metric.- Returns:
- the limit value.
-
unit
public String unit()
Get the unit property: The units of the usage metric.- Returns:
- the unit value.
-
nextResetTime
public OffsetDateTime nextResetTime()
Get the nextResetTime property: The next reset time for the usage metric (ISO8601 format).- Returns:
- the nextResetTime value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-