Class VaultUsageInner
java.lang.Object
com.azure.resourcemanager.recoveryservices.fluent.models.VaultUsageInner
Usages of a vault.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the currentValue property: Current value of usage.limit()
Get the limit property: Limit of usage.name()
Get the name property: Name of usage.Get the nextResetTime property: Next reset time of usage.Get the quotaPeriod property: Quota period of usage.unit()
Get the unit property: Unit of the usage.void
validate()
Validates the instance.withCurrentValue
(Long currentValue) Set the currentValue property: Current value of usage.Set the limit property: Limit of usage.Set the name property: Name of usage.withNextResetTime
(OffsetDateTime nextResetTime) Set the nextResetTime property: Next reset time of usage.withQuotaPeriod
(String quotaPeriod) Set the quotaPeriod property: Quota period of usage.withUnit
(UsagesUnit unit) Set the unit property: Unit of the usage.
-
Constructor Details
-
VaultUsageInner
public VaultUsageInner()
-
-
Method Details
-
unit
Get the unit property: Unit of the usage.- Returns:
- the unit value.
-
withUnit
Set the unit property: Unit of the usage.- Parameters:
unit
- the unit value to set.- Returns:
- the VaultUsageInner object itself.
-
quotaPeriod
Get the quotaPeriod property: Quota period of usage.- Returns:
- the quotaPeriod value.
-
withQuotaPeriod
Set the quotaPeriod property: Quota period of usage.- Parameters:
quotaPeriod
- the quotaPeriod value to set.- Returns:
- the VaultUsageInner object itself.
-
nextResetTime
Get the nextResetTime property: Next reset time of usage.- Returns:
- the nextResetTime value.
-
withNextResetTime
Set the nextResetTime property: Next reset time of usage.- Parameters:
nextResetTime
- the nextResetTime value to set.- Returns:
- the VaultUsageInner object itself.
-
currentValue
Get the currentValue property: Current value of usage.- Returns:
- the currentValue value.
-
withCurrentValue
Set the currentValue property: Current value of usage.- Parameters:
currentValue
- the currentValue value to set.- Returns:
- the VaultUsageInner object itself.
-
limit
Get the limit property: Limit of usage.- Returns:
- the limit value.
-
withLimit
Set the limit property: Limit of usage.- Parameters:
limit
- the limit value to set.- Returns:
- the VaultUsageInner object itself.
-
name
Get the name property: Name of usage.- Returns:
- the name value.
-
withName
Set the name property: Name of usage.- Parameters:
name
- the name value to set.- Returns:
- the VaultUsageInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-