Class QuotaUsageResultInner
java.lang.Object
com.azure.resourcemanager.search.fluent.models.QuotaUsageResultInner
Describes the quota usage for a particular SKU.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the currentValue property: The currently used up value for the particular search SKU.id()Get the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.limit()Get the limit property: The quota limit for the particular search SKU.name()Get the name property: The name of the SKU supported by Azure AI Search.unit()Get the unit property: The unit of measurement for the search SKU.voidvalidate()Validates the instance.withCurrentValue(Integer currentValue) Set the currentValue property: The currently used up value for the particular search SKU.Set the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.Set the limit property: The quota limit for the particular search SKU.Set the unit property: The unit of measurement for the search SKU.
-
Constructor Details
-
QuotaUsageResultInner
public QuotaUsageResultInner()Creates an instance of QuotaUsageResultInner class.
-
-
Method Details
-
id
Get the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.- Returns:
- the id value.
-
withId
Set the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.- Parameters:
id- the id value to set.- Returns:
- the QuotaUsageResultInner object itself.
-
unit
Get the unit property: The unit of measurement for the search SKU.- Returns:
- the unit value.
-
withUnit
Set the unit property: The unit of measurement for the search SKU.- Parameters:
unit- the unit value to set.- Returns:
- the QuotaUsageResultInner object itself.
-
currentValue
Get the currentValue property: The currently used up value for the particular search SKU.- Returns:
- the currentValue value.
-
withCurrentValue
Set the currentValue property: The currently used up value for the particular search SKU.- Parameters:
currentValue- the currentValue value to set.- Returns:
- the QuotaUsageResultInner object itself.
-
limit
Get the limit property: The quota limit for the particular search SKU.- Returns:
- the limit value.
-
withLimit
Set the limit property: The quota limit for the particular search SKU.- Parameters:
limit- the limit value to set.- Returns:
- the QuotaUsageResultInner object itself.
-
name
Get the name property: The name of the SKU supported by Azure AI Search.- Returns:
- the name value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-