@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailableCapacity extends Object implements Serializable, Cloneable
The capacity information for instances launched onto the Dedicated Host.
Constructor and Description |
---|
AvailableCapacity() |
Modifier and Type | Method and Description |
---|---|
AvailableCapacity |
clone() |
boolean |
equals(Object obj) |
List<InstanceCapacity> |
getAvailableInstanceCapacity()
The total number of instances that the Dedicated Host supports.
|
Integer |
getAvailableVCpus()
The number of vCPUs available on the Dedicated Host.
|
int |
hashCode() |
void |
setAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances that the Dedicated Host supports.
|
void |
setAvailableVCpus(Integer availableVCpus)
The number of vCPUs available on the Dedicated Host.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AvailableCapacity |
withAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances that the Dedicated Host supports.
|
AvailableCapacity |
withAvailableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The total number of instances that the Dedicated Host supports.
|
AvailableCapacity |
withAvailableVCpus(Integer availableVCpus)
The number of vCPUs available on the Dedicated Host.
|
public List<InstanceCapacity> getAvailableInstanceCapacity()
The total number of instances that the Dedicated Host supports.
public void setAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances that the Dedicated Host supports.
availableInstanceCapacity
- The total number of instances that the Dedicated Host supports.public AvailableCapacity withAvailableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The total number of instances that the Dedicated Host supports.
NOTE: This method appends the values to the existing list (if any). Use
setAvailableInstanceCapacity(java.util.Collection)
or
withAvailableInstanceCapacity(java.util.Collection)
if you want to override the existing values.
availableInstanceCapacity
- The total number of instances that the Dedicated Host supports.public AvailableCapacity withAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances that the Dedicated Host supports.
availableInstanceCapacity
- The total number of instances that the Dedicated Host supports.public void setAvailableVCpus(Integer availableVCpus)
The number of vCPUs available on the Dedicated Host.
availableVCpus
- The number of vCPUs available on the Dedicated Host.public Integer getAvailableVCpus()
The number of vCPUs available on the Dedicated Host.
public AvailableCapacity withAvailableVCpus(Integer availableVCpus)
The number of vCPUs available on the Dedicated Host.
availableVCpus
- The number of vCPUs available on the Dedicated Host.public String toString()
toString
in class Object
Object.toString()
public AvailableCapacity clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.