@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceleratorTotalMemoryMiBRequest extends Object implements Serializable, Cloneable
Specifies the minimum and maximum for the AcceleratorTotalMemoryMiB
object when you specify
InstanceRequirements for an Auto Scaling group.
Constructor and Description |
---|
AcceleratorTotalMemoryMiBRequest() |
Modifier and Type | Method and Description |
---|---|
AcceleratorTotalMemoryMiBRequest |
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.
|
AcceleratorTotalMemoryMiBRequest |
withMax(Integer max)
The memory maximum in MiB.
|
AcceleratorTotalMemoryMiBRequest |
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 AcceleratorTotalMemoryMiBRequest 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 AcceleratorTotalMemoryMiBRequest withMax(Integer max)
The memory maximum in MiB.
max
- The memory maximum in MiB.public String toString()
toString
in class Object
Object.toString()
public AcceleratorTotalMemoryMiBRequest clone()