public class AvailableCapacity
extends java.lang.Object
implements java.io.Serializable
The capacity information for instances launched onto the Dedicated host.
Constructor and Description |
---|
AvailableCapacity() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<InstanceCapacity> |
getAvailableInstanceCapacity()
The total number of instances that the Dedicated host supports.
|
java.lang.Integer |
getAvailableVCpus()
The number of vCPUs available on the Dedicated host.
|
int |
hashCode() |
void |
setAvailableInstanceCapacity(java.util.Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances that the Dedicated host supports.
|
void |
setAvailableVCpus(java.lang.Integer availableVCpus)
The number of vCPUs available on the Dedicated host.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AvailableCapacity |
withAvailableInstanceCapacity(java.util.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(java.lang.Integer availableVCpus)
The number of vCPUs available on the Dedicated host.
|
public java.util.List<InstanceCapacity> getAvailableInstanceCapacity()
public void setAvailableInstanceCapacity(java.util.Collection<InstanceCapacity> availableInstanceCapacity)
availableInstanceCapacity
- The total number of instances that the Dedicated host supports.public AvailableCapacity withAvailableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
Returns a reference to this object so that method calls can be chained together.
availableInstanceCapacity
- The total number of instances that the Dedicated host supports.public AvailableCapacity withAvailableInstanceCapacity(java.util.Collection<InstanceCapacity> availableInstanceCapacity)
Returns a reference to this object so that method calls can be chained together.
availableInstanceCapacity
- The total number of instances that the Dedicated host supports.public java.lang.Integer getAvailableVCpus()
public void setAvailableVCpus(java.lang.Integer availableVCpus)
availableVCpus
- The number of vCPUs available on the Dedicated host.public AvailableCapacity withAvailableVCpus(java.lang.Integer availableVCpus)
Returns a reference to this object so that method calls can be chained together.
availableVCpus
- The number of vCPUs available on the Dedicated host.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.