Class UsagesObject
- java.lang.Object
-
- com.azure.resourcemanager.quota.models.UsagesObject
-
public final class UsagesObject extends Object
The resource usages value.
-
-
Constructor Summary
Constructors Constructor Description UsagesObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsagesTypes
usagesType()
Get the usagesType property: The quota or usages limit types.void
validate()
Validates the instance.int
value()
Get the value property: The usages value.UsagesObject
withUsagesType(UsagesTypes usagesType)
Set the usagesType property: The quota or usages limit types.UsagesObject
withValue(int value)
Set the value property: The usages value.
-
-
-
Method Detail
-
value
public int value()
Get the value property: The usages value.- Returns:
- the value value.
-
withValue
public UsagesObject withValue(int value)
Set the value property: The usages value.- Parameters:
value
- the value value to set.- Returns:
- the UsagesObject object itself.
-
usagesType
public UsagesTypes usagesType()
Get the usagesType property: The quota or usages limit types.- Returns:
- the usagesType value.
-
withUsagesType
public UsagesObject withUsagesType(UsagesTypes usagesType)
Set the usagesType property: The quota or usages limit types.- Parameters:
usagesType
- the usagesType value to set.- Returns:
- the UsagesObject object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-