@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemoryMiBRequest extends Object implements Serializable, Cloneable
Specifies the minimum and maximum for the MemoryMiB
object when you specify InstanceRequirements
for an Auto Scaling group.
Constructor and Description |
---|
MemoryMiBRequest() |
Modifier and Type | Method and Description |
---|---|
MemoryMiBRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getMax()
The memory maximum in MiB.
|
Integer |
getMin()
The memory minimum in MiB.
|
int |
hashCode() |
void |
setMax(Integer max)
The memory maximum in MiB.
|
void |
setMin(Integer min)
The memory minimum in MiB.
|
String |
toString()
Returns a string representation of this object.
|
MemoryMiBRequest |
withMax(Integer max)
The memory maximum in MiB.
|
MemoryMiBRequest |
withMin(Integer min)
The memory minimum in MiB.
|
public void setMin(Integer min)
The memory minimum in MiB.
min
- The memory minimum in MiB.public Integer getMin()
The memory minimum in MiB.
public MemoryMiBRequest withMin(Integer min)
The memory minimum in MiB.
min
- The memory minimum in MiB.public void setMax(Integer max)
The memory maximum in MiB.
max
- The memory maximum in MiB.public Integer getMax()
The memory maximum in MiB.
public MemoryMiBRequest withMax(Integer max)
The memory maximum in MiB.
max
- The memory maximum in MiB.public String toString()
toString
in class Object
Object.toString()
public MemoryMiBRequest clone()