@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemoryGiBPerVCpu extends Object implements Serializable, Cloneable
The minimum and maximum amount of memory per vCPU, in GiB.
Constructor and Description |
---|
MemoryGiBPerVCpu() |
Modifier and Type | Method and Description |
---|---|
MemoryGiBPerVCpu |
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.
|
MemoryGiBPerVCpu |
withMax(Double max)
The maximum amount of memory per vCPU, in GiB.
|
MemoryGiBPerVCpu |
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. If this parameter is not specified, there is no minimum limit.
min
- The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no minimum
limit.public Double getMin()
The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no minimum limit.
public MemoryGiBPerVCpu withMin(Double min)
The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no minimum limit.
min
- The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no minimum
limit.public void setMax(Double max)
The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum limit.
max
- The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum
limit.public Double getMax()
The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum limit.
public MemoryGiBPerVCpu withMax(Double max)
The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum limit.
max
- The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum
limit.public String toString()
toString
in class Object
Object.toString()
public MemoryGiBPerVCpu clone()