public final class CsmUsageQuotaInner extends Object
| Constructor and Description |
|---|
CsmUsageQuotaInner() |
| Modifier and Type | Method and Description |
|---|---|
Long |
currentValue()
Get the currentValue property: The current value of the resource counter.
|
Long |
limit()
Get the limit property: The resource limit.
|
LocalizableString |
name()
Get the name property: Quota name.
|
OffsetDateTime |
nextResetTime()
Get the nextResetTime property: Next reset time for the resource counter.
|
String |
unit()
Get the unit property: Units of measurement for the quota resource.
|
void |
validate()
Validates the instance.
|
CsmUsageQuotaInner |
withCurrentValue(Long currentValue)
Set the currentValue property: The current value of the resource counter.
|
CsmUsageQuotaInner |
withLimit(Long limit)
Set the limit property: The resource limit.
|
CsmUsageQuotaInner |
withName(LocalizableString name)
Set the name property: Quota name.
|
CsmUsageQuotaInner |
withNextResetTime(OffsetDateTime nextResetTime)
Set the nextResetTime property: Next reset time for the resource counter.
|
CsmUsageQuotaInner |
withUnit(String unit)
Set the unit property: Units of measurement for the quota resource.
|
public String unit()
public CsmUsageQuotaInner withUnit(String unit)
unit - the unit value to set.public OffsetDateTime nextResetTime()
public CsmUsageQuotaInner withNextResetTime(OffsetDateTime nextResetTime)
nextResetTime - the nextResetTime value to set.public Long currentValue()
public CsmUsageQuotaInner withCurrentValue(Long currentValue)
currentValue - the currentValue value to set.public Long limit()
public CsmUsageQuotaInner withLimit(Long limit)
limit - the limit value to set.public LocalizableString name()
public CsmUsageQuotaInner withName(LocalizableString name)
name - the name value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.