@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailableCapacity extends Object implements Serializable, Cloneable
The capacity information for instances that can be 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 number of instances that can be launched onto the Dedicated Host depending on the host's available capacity.
|
Integer |
getAvailableVCpus()
The number of vCPUs available for launching instances onto the Dedicated Host.
|
int |
hashCode() |
void |
setAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity.
|
void |
setAvailableVCpus(Integer availableVCpus)
The number of vCPUs available for launching instances onto the Dedicated Host.
|
String |
toString()
Returns a string representation of this object.
|
AvailableCapacity |
withAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity.
|
AvailableCapacity |
withAvailableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity.
|
AvailableCapacity |
withAvailableVCpus(Integer availableVCpus)
The number of vCPUs available for launching instances onto the Dedicated Host.
|
public List<InstanceCapacity> getAvailableInstanceCapacity()
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
public void setAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
availableInstanceCapacity
- The number of instances that can be launched onto the Dedicated Host depending on the host's available
capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number
of instances for each instance size that is supported on the host.public AvailableCapacity withAvailableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the 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 number of instances that can be launched onto the Dedicated Host depending on the host's available
capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number
of instances for each instance size that is supported on the host.public AvailableCapacity withAvailableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
availableInstanceCapacity
- The number of instances that can be launched onto the Dedicated Host depending on the host's available
capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number
of instances for each instance size that is supported on the host.public void setAvailableVCpus(Integer availableVCpus)
The number of vCPUs available for launching instances onto the Dedicated Host.
availableVCpus
- The number of vCPUs available for launching instances onto the Dedicated Host.public Integer getAvailableVCpus()
The number of vCPUs available for launching instances onto the Dedicated Host.
public AvailableCapacity withAvailableVCpus(Integer availableVCpus)
The number of vCPUs available for launching instances onto the Dedicated Host.
availableVCpus
- The number of vCPUs available for launching instances onto the Dedicated Host.public String toString()
toString
in class Object
Object.toString()
public AvailableCapacity clone()