CsmUsageQuotaInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. CsmUsageQuotaInner
- com.
Implements
public final class CsmUsageQuotaInner
implements JsonSerializable<CsmUsageQuotaInner>
Usage of the quota resource.
Constructor Summary
Constructor | Description |
---|---|
CsmUsageQuotaInner() |
Creates an instance of Csm |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
currentValue()
Get the current |
static
Csm |
fromJson(JsonReader jsonReader)
Reads an instance of Csm |
Long |
limit()
Get the limit property: The resource limit. |
Localizable |
name()
Get the name property: Quota name. |
Offset |
nextResetTime()
Get the next |
Json |
toJson(JsonWriter jsonWriter) |
String |
unit()
Get the unit property: Units of measurement for the quota resource. |
void |
validate()
Validates the instance. |
Csm |
withCurrentValue(Long currentValue)
Set the current |
Csm |
withLimit(Long limit)
Set the limit property: The resource limit. |
Csm |
withName(LocalizableString name)
Set the name property: Quota name. |
Csm |
withNextResetTime(OffsetDateTime nextResetTime)
Set the next |
Csm |
withUnit(String unit)
Set the unit property: Units of measurement for the quota resource. |
Methods inherited from java.lang.Object
Constructor Details
CsmUsageQuotaInner
public CsmUsageQuotaInner()
Creates an instance of CsmUsageQuotaInner class.
Method Details
currentValue
public Long currentValue()
Get the currentValue property: The current value of the resource counter.
Returns:
fromJson
public static CsmUsageQuotaInner fromJson(JsonReader jsonReader)
Reads an instance of CsmUsageQuotaInner from the JsonReader.
Parameters:
Returns:
Throws:
limit
public Long limit()
Get the limit property: The resource limit.
Returns:
name
public LocalizableString name()
Get the name property: Quota name.
Returns:
nextResetTime
public OffsetDateTime nextResetTime()
Get the nextResetTime property: Next reset time for the resource counter.
Returns:
toJson
unit
public String unit()
Get the unit property: Units of measurement for the quota resource.
Returns:
validate
public void validate()
Validates the instance.
withCurrentValue
public CsmUsageQuotaInner withCurrentValue(Long currentValue)
Set the currentValue property: The current value of the resource counter.
Parameters:
Returns:
withLimit
public CsmUsageQuotaInner withLimit(Long limit)
Set the limit property: The resource limit.
Parameters:
Returns:
withName
public CsmUsageQuotaInner withName(LocalizableString name)
Set the name property: Quota name.
Parameters:
Returns:
withNextResetTime
public CsmUsageQuotaInner withNextResetTime(OffsetDateTime nextResetTime)
Set the nextResetTime property: Next reset time for the resource counter.
Parameters:
Returns:
withUnit
public CsmUsageQuotaInner withUnit(String unit)
Set the unit property: Units of measurement for the quota resource.
Parameters:
Returns:
Applies to
Azure SDK for Java