CsmUsageQuotaInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. CsmUsageQuotaInner
- com.
public final class 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 |
Long |
limit()
Get the limit property: The resource limit. |
Localizable |
name()
Get the name property: Quota name. |
Offset |
nextResetTime()
Get the next |
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:
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:
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for