@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VCpuCountRequest extends Object implements Serializable, Cloneable
Specifies the minimum and maximum for the VCpuCount
object when you specify InstanceRequirements
for an Auto Scaling group.
Constructor and Description |
---|
VCpuCountRequest() |
Modifier and Type | Method and Description |
---|---|
VCpuCountRequest |
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.
|
VCpuCountRequest |
withMax(Integer max)
The maximum number of vCPUs.
|
VCpuCountRequest |
withMin(Integer min)
The minimum number of vCPUs.
|
public void setMin(Integer min)
The minimum number of vCPUs.
min
- The minimum number of vCPUs.public Integer getMin()
The minimum number of vCPUs.
public VCpuCountRequest withMin(Integer min)
The minimum number of vCPUs.
min
- The minimum number of vCPUs.public void setMax(Integer max)
The maximum number of vCPUs.
max
- The maximum number of vCPUs.public Integer getMax()
The maximum number of vCPUs.
public VCpuCountRequest withMax(Integer max)
The maximum number of vCPUs.
max
- The maximum number of vCPUs.public String toString()
toString
in class Object
Object.toString()
public VCpuCountRequest clone()