@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemoryMiBRequest extends Object implements Serializable, Cloneable
The minimum and maximum amount of memory, in MiB.
Constructor and Description |
---|
MemoryMiBRequest() |
Modifier and Type | Method and Description |
---|---|
MemoryMiBRequest |
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.
|
MemoryMiBRequest |
withMax(Integer max)
The maximum amount of memory, in MiB.
|
MemoryMiBRequest |
withMin(Integer min)
The minimum amount of memory, in MiB.
|
public void setMin(Integer min)
The minimum amount of memory, in MiB. To specify no minimum limit, specify 0
.
min
- The minimum amount of memory, in MiB. To specify no minimum limit, specify 0
.public Integer getMin()
The minimum amount of memory, in MiB. To specify no minimum limit, specify 0
.
0
.public MemoryMiBRequest withMin(Integer min)
The minimum amount of memory, in MiB. To specify no minimum limit, specify 0
.
min
- The minimum amount of memory, in MiB. To specify no minimum limit, specify 0
.public void setMax(Integer max)
The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
max
- The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.public Integer getMax()
The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
public MemoryMiBRequest withMax(Integer max)
The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
max
- The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.public String toString()
toString
in class Object
Object.toString()
public MemoryMiBRequest clone()