@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemoryMiB extends Object implements Serializable, Cloneable
The minimum and maximum amount of memory, in MiB.
Constructor and Description |
---|
MemoryMiB() |
Modifier and Type | Method and Description |
---|---|
MemoryMiB |
clone() |
boolean |
equals(Object obj) |
Integer |
getMax()
The maximum amount of memory, in MiB.
|
Integer |
getMin()
The minimum amount of memory, in MiB.
|
int |
hashCode() |
void |
setMax(Integer max)
The maximum amount of memory, in MiB.
|
void |
setMin(Integer min)
The minimum amount of memory, in MiB.
|
String |
toString()
Returns a string representation of this object.
|
MemoryMiB |
withMax(Integer max)
The maximum amount of memory, in MiB.
|
MemoryMiB |
withMin(Integer min)
The minimum amount of memory, in MiB.
|
public void setMin(Integer min)
The minimum amount of memory, in MiB. If this parameter is not specified, there is no minimum limit.
min
- The minimum amount of memory, in MiB. If this parameter is not specified, there is no minimum limit.public Integer getMin()
The minimum amount of memory, in MiB. If this parameter is not specified, there is no minimum limit.
public MemoryMiB withMin(Integer min)
The minimum amount of memory, in MiB. If this parameter is not specified, there is no minimum limit.
min
- The minimum amount of memory, in MiB. If this parameter is not specified, there is no minimum limit.public void setMax(Integer max)
The maximum amount of memory, in MiB. If this parameter is not specified, there is no maximum limit.
max
- The maximum amount of memory, in MiB. If this parameter is not specified, there is no maximum limit.public Integer getMax()
The maximum amount of memory, in MiB. If this parameter is not specified, there is no maximum limit.
public MemoryMiB withMax(Integer max)
The maximum amount of memory, in MiB. If this parameter is not specified, there is no maximum limit.
max
- The maximum amount of memory, in MiB. If this parameter is not specified, there is no maximum limit.public String toString()
toString
in class Object
Object.toString()