Class QuotaResourceProperties
java.lang.Object
com.azure.resourcemanager.loadtesting.fluent.models.QuotaResourceProperties
Quota bucket resource properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of QuotaResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionlimit()Get the limit property: Current quota limit of the quota bucket.Get the provisioningState property: Resource provisioning state.usage()Get the usage property: Current quota usage of the quota bucket.voidvalidate()Validates the instance.Set the limit property: Current quota limit of the quota bucket.Set the usage property: Current quota usage of the quota bucket.
-
Constructor Details
-
QuotaResourceProperties
public QuotaResourceProperties()Creates an instance of QuotaResourceProperties class.
-
-
Method Details
-
limit
Get the limit property: Current quota limit of the quota bucket.- Returns:
- the limit value.
-
withLimit
Set the limit property: Current quota limit of the quota bucket.- Parameters:
limit- the limit value to set.- Returns:
- the QuotaResourceProperties object itself.
-
usage
Get the usage property: Current quota usage of the quota bucket.- Returns:
- the usage value.
-
withUsage
Set the usage property: Current quota usage of the quota bucket.- Parameters:
usage- the usage value to set.- Returns:
- the QuotaResourceProperties object itself.
-
provisioningState
Get the provisioningState property: Resource provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-