public class RegistryUsage extends Object
| Constructor and Description |
|---|
RegistryUsage() |
| Modifier and Type | Method and Description |
|---|---|
Long |
currentValue()
Get the current value of the usage.
|
Long |
limit()
Get the limit of the usage.
|
String |
name()
Get the name of the usage.
|
RegistryUsageUnit |
unit()
Get the unit of measurement.
|
RegistryUsage |
withCurrentValue(Long currentValue)
Set the current value of the usage.
|
RegistryUsage |
withLimit(Long limit)
Set the limit of the usage.
|
RegistryUsage |
withName(String name)
Set the name of the usage.
|
RegistryUsage |
withUnit(RegistryUsageUnit unit)
Set the unit of measurement.
|
public String name()
public RegistryUsage withName(String name)
name - the name value to setpublic Long limit()
public RegistryUsage withLimit(Long limit)
limit - the limit value to setpublic Long currentValue()
public RegistryUsage withCurrentValue(Long currentValue)
currentValue - the currentValue value to setpublic RegistryUsageUnit unit()
public RegistryUsage withUnit(RegistryUsageUnit unit)
unit - the unit value to setCopyright © 2019. All rights reserved.