@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceCapacity extends Object implements Serializable, Cloneable
Information about the instance type that the Dedicated Host supports.
Constructor and Description |
---|
InstanceCapacity() |
Modifier and Type | Method and Description |
---|---|
InstanceCapacity |
clone() |
boolean |
equals(Object obj) |
Integer |
getAvailableCapacity()
The number of instances that can still be launched onto the Dedicated Host.
|
String |
getInstanceType()
The instance type size supported by the Dedicated Host.
|
Integer |
getTotalCapacity()
The total number of instances that can be launched onto the Dedicated Host.
|
int |
hashCode() |
void |
setAvailableCapacity(Integer availableCapacity)
The number of instances that can still be launched onto the Dedicated Host.
|
void |
setInstanceType(String instanceType)
The instance type size supported by the Dedicated Host.
|
void |
setTotalCapacity(Integer totalCapacity)
The total number of instances that can be launched onto the Dedicated Host.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceCapacity |
withAvailableCapacity(Integer availableCapacity)
The number of instances that can still be launched onto the Dedicated Host.
|
InstanceCapacity |
withInstanceType(String instanceType)
The instance type size supported by the Dedicated Host.
|
InstanceCapacity |
withTotalCapacity(Integer totalCapacity)
The total number of instances that can be launched onto the Dedicated Host.
|
public void setAvailableCapacity(Integer availableCapacity)
The number of instances that can still be launched onto the Dedicated Host.
availableCapacity
- The number of instances that can still be launched onto the Dedicated Host.public Integer getAvailableCapacity()
The number of instances that can still be launched onto the Dedicated Host.
public InstanceCapacity withAvailableCapacity(Integer availableCapacity)
The number of instances that can still be launched onto the Dedicated Host.
availableCapacity
- The number of instances that can still be launched onto the Dedicated Host.public void setInstanceType(String instanceType)
The instance type size supported by the Dedicated Host.
instanceType
- The instance type size supported by the Dedicated Host.public String getInstanceType()
The instance type size supported by the Dedicated Host.
public InstanceCapacity withInstanceType(String instanceType)
The instance type size supported by the Dedicated Host.
instanceType
- The instance type size supported by the Dedicated Host.public void setTotalCapacity(Integer totalCapacity)
The total number of instances that can be launched onto the Dedicated Host.
totalCapacity
- The total number of instances that can be launched onto the Dedicated Host.public Integer getTotalCapacity()
The total number of instances that can be launched onto the Dedicated Host.
public InstanceCapacity withTotalCapacity(Integer totalCapacity)
The total number of instances that can be launched onto the Dedicated Host.
totalCapacity
- The total number of instances that can be launched onto the Dedicated Host.public String toString()
toString
in class Object
Object.toString()
public InstanceCapacity clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.