@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VCpuCountRangeRequest extends Object implements Serializable, Cloneable
The minimum and maximum number of vCPUs.
Constructor and Description |
---|
VCpuCountRangeRequest() |
Modifier and Type | Method and Description |
---|---|
VCpuCountRangeRequest |
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.
|
VCpuCountRangeRequest |
withMax(Integer max)
The maximum number of vCPUs.
|
VCpuCountRangeRequest |
withMin(Integer min)
The minimum number of vCPUs.
|
public void setMin(Integer min)
The minimum number of vCPUs. To specify no minimum limit, specify 0
.
min
- The minimum number of vCPUs. To specify no minimum limit, specify 0
.public Integer getMin()
The minimum number of vCPUs. To specify no minimum limit, specify 0
.
0
.public VCpuCountRangeRequest withMin(Integer min)
The minimum number of vCPUs. To specify no minimum limit, specify 0
.
min
- The minimum number of vCPUs. To specify no minimum limit, specify 0
.public void setMax(Integer max)
The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
max
- The maximum number of vCPUs. To specify no maximum limit, omit this parameter.public Integer getMax()
The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
public VCpuCountRangeRequest withMax(Integer max)
The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
max
- The maximum number of vCPUs. To specify no maximum limit, omit this parameter.public String toString()
toString
in class Object
Object.toString()
public VCpuCountRangeRequest clone()