@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 supported by the Dedicated Host.
|
Integer |
getAvailableVCpus()
The number of vCPUs available on the Dedicated Host.
|
int |
hashCode() |
void |
setAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
|
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 supported by the Dedicated Host.
|
AvailableCapacity |
withAvailableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
|
AvailableCapacity |
withAvailableVCpus(Integer availableVCpus)
The number of vCPUs available on the Dedicated Host.
|
public List<InstanceCapacity> getAvailableInstanceCapacity()
The total number of instances supported by the Dedicated Host.
public void setAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
availableInstanceCapacity
- The total number of instances supported by the Dedicated Host.public AvailableCapacity withAvailableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
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 supported by the Dedicated Host.public AvailableCapacity withAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
availableInstanceCapacity
- The total number of instances supported by the Dedicated Host.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.