QuotaUsageResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. search. fluent. models. QuotaUsageResultInner
- com.
Implements
public final class QuotaUsageResultInner
implements JsonSerializable<QuotaUsageResultInner>
Describes the quota usage for a particular SKU.
Constructor Summary
Constructor | Description |
---|---|
QuotaUsageResultInner() |
Creates an instance of Quota |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
currentValue()
Get the current |
static
Quota |
fromJson(JsonReader jsonReader)
Reads an instance of Quota |
String |
id()
Get the id property: The resource ID of the quota usage SKU endpoint for Microsoft. |
Integer |
limit()
Get the limit property: The quota limit for the particular search SKU. |
Quota |
name()
Get the name property: The name of the SKU supported by Azure AI Search. |
Json |
toJson(JsonWriter jsonWriter) |
String |
unit()
Get the unit property: The unit of measurement for the search SKU. |
void |
validate()
Validates the instance. |
Quota |
withCurrentValue(Integer currentValue)
Set the current |
Quota |
withId(String id)
Set the id property: The resource ID of the quota usage SKU endpoint for Microsoft. |
Quota |
withLimit(Integer limit)
Set the limit property: The quota limit for the particular search SKU. |
Quota |
withUnit(String unit)
Set the unit property: The unit of measurement for the search SKU. |
Methods inherited from java.lang.Object
Constructor Details
QuotaUsageResultInner
public QuotaUsageResultInner()
Creates an instance of QuotaUsageResultInner class.
Method Details
currentValue
public Integer currentValue()
Get the currentValue property: The currently used up value for the particular search SKU.
Returns:
fromJson
public static QuotaUsageResultInner fromJson(JsonReader jsonReader)
Reads an instance of QuotaUsageResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.
Returns:
limit
public Integer limit()
Get the limit property: The quota limit for the particular search SKU.
Returns:
name
public QuotaUsageResultName name()
Get the name property: The name of the SKU supported by Azure AI Search.
Returns:
toJson
unit
public String unit()
Get the unit property: The unit of measurement for the search SKU.
Returns:
validate
public void validate()
Validates the instance.
withCurrentValue
public QuotaUsageResultInner withCurrentValue(Integer currentValue)
Set the currentValue property: The currently used up value for the particular search SKU.
Parameters:
Returns:
withId
public QuotaUsageResultInner withId(String id)
Set the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.
Parameters:
Returns:
withLimit
public QuotaUsageResultInner withLimit(Integer limit)
Set the limit property: The quota limit for the particular search SKU.
Parameters:
Returns:
withUnit
public QuotaUsageResultInner withUnit(String unit)
Set the unit property: The unit of measurement for the search SKU.
Parameters:
Returns:
Applies to
Azure SDK for Java