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