@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VCpuCountRange extends Object implements Serializable, Cloneable
The minimum and maximum number of vCPUs.
Constructor and Description |
---|
VCpuCountRange() |
Modifier and Type | Method and Description |
---|---|
VCpuCountRange |
clone() |
boolean |
equals(Object obj) |
Integer |
getMax()
The maximum number of vCPUs.
|
Integer |
getMin()
The minimum number of vCPUs.
|
int |
hashCode() |
void |
setMax(Integer max)
The maximum number of vCPUs.
|
void |
setMin(Integer min)
The minimum number of vCPUs.
|
String |
toString()
Returns a string representation of this object.
|
VCpuCountRange |
withMax(Integer max)
The maximum number of vCPUs.
|
VCpuCountRange |
withMin(Integer min)
The minimum number of vCPUs.
|
public void setMin(Integer min)
The minimum number of vCPUs. If the value is 0
, there is no minimum limit.
min
- The minimum number of vCPUs. If the value is 0
, there is no minimum limit.public Integer getMin()
The minimum number of vCPUs. If the value is 0
, there is no minimum limit.
0
, there is no minimum limit.public VCpuCountRange withMin(Integer min)
The minimum number of vCPUs. If the value is 0
, there is no minimum limit.
min
- The minimum number of vCPUs. If the value is 0
, there is no minimum limit.public void setMax(Integer max)
The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.
max
- The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.public Integer getMax()
The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.
public VCpuCountRange withMax(Integer max)
The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.
max
- The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.public String toString()
toString
in class Object
Object.toString()
public VCpuCountRange clone()