@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceCapacity extends Object implements Serializable, Cloneable
Information about the number of instances that can be launched onto the Dedicated Host.
Constructor and Description |
---|
InstanceCapacity() |
Modifier and Type | Method and Description |
---|---|
InstanceCapacity |
clone() |
boolean |
equals(Object obj) |
Integer |
getAvailableCapacity()
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
|
String |
getInstanceType()
The instance type supported by the Dedicated Host.
|
Integer |
getTotalCapacity()
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on
it.
|
int |
hashCode() |
void |
setAvailableCapacity(Integer availableCapacity)
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
|
void |
setInstanceType(String instanceType)
The instance type supported by the Dedicated Host.
|
void |
setTotalCapacity(Integer totalCapacity)
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on
it.
|
String |
toString()
Returns a string representation of this object.
|
InstanceCapacity |
withAvailableCapacity(Integer availableCapacity)
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
|
InstanceCapacity |
withInstanceType(String instanceType)
The instance type supported by the Dedicated Host.
|
InstanceCapacity |
withTotalCapacity(Integer totalCapacity)
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on
it.
|
public void setAvailableCapacity(Integer availableCapacity)
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
availableCapacity
- The number of instances that can be launched onto the Dedicated Host based on the host's available
capacity.public Integer getAvailableCapacity()
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
public InstanceCapacity withAvailableCapacity(Integer availableCapacity)
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
availableCapacity
- The number of instances that can be launched onto the Dedicated Host based on the host's available
capacity.public void setInstanceType(String instanceType)
The instance type supported by the Dedicated Host.
instanceType
- The instance type supported by the Dedicated Host.public String getInstanceType()
The instance type supported by the Dedicated Host.
public InstanceCapacity withInstanceType(String instanceType)
The instance type supported by the Dedicated Host.
instanceType
- The instance type supported by the Dedicated Host.public void setTotalCapacity(Integer totalCapacity)
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.
totalCapacity
- The total number of instances that can be launched onto the Dedicated Host if there are no instances
running on it.public Integer getTotalCapacity()
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.
public InstanceCapacity withTotalCapacity(Integer totalCapacity)
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.
totalCapacity
- The total number of instances that can be launched onto the Dedicated Host if there are no instances
running on it.public String toString()
toString
in class Object
Object.toString()
public InstanceCapacity clone()