Class QuotaLimit
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.QuotaLimit
The QuotaLimit model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Get the count property: The count property.Get the renewalPeriod property: The renewalPeriod property.rules()
Get the rules property: The rules property.void
validate()
Validates the instance.Set the count property: The count property.withRenewalPeriod
(Float renewalPeriod) Set the renewalPeriod property: The renewalPeriod property.withRules
(List<ThrottlingRule> rules) Set the rules property: The rules property.
-
Constructor Details
-
QuotaLimit
public QuotaLimit()
-
-
Method Details
-
count
Get the count property: The count property.- Returns:
- the count value.
-
withCount
Set the count property: The count property.- Parameters:
count
- the count value to set.- Returns:
- the QuotaLimit object itself.
-
renewalPeriod
Get the renewalPeriod property: The renewalPeriod property.- Returns:
- the renewalPeriod value.
-
withRenewalPeriod
Set the renewalPeriod property: The renewalPeriod property.- Parameters:
renewalPeriod
- the renewalPeriod value to set.- Returns:
- the QuotaLimit object itself.
-
rules
Get the rules property: The rules property.- Returns:
- the rules value.
-
withRules
Set the rules property: The rules property.- Parameters:
rules
- the rules value to set.- Returns:
- the QuotaLimit object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-