public class ResourceRange extends Object
| Constructor and Description |
|---|
ResourceRange() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
max()
Get the maximum number of the resource.
|
Integer |
min()
Get the minimum number of the resource.
|
ResourceRange |
withMax(Integer max)
Set the maximum number of the resource.
|
ResourceRange |
withMin(Integer min)
Set the minimum number of the resource.
|
public Integer min()
public ResourceRange withMin(Integer min)
min - the min value to setpublic Integer max()
public ResourceRange withMax(Integer max)
max - the max value to setCopyright © 2019. All rights reserved.