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