Class AvailableCapacity

    • Constructor Detail

      • AvailableCapacity

        public AvailableCapacity()
    • Method Detail

      • getAvailableInstanceCapacity

        public List<InstanceCapacity> getAvailableInstanceCapacity()

        The total number of instances that the Dedicated host supports.

        Returns:
        The total number of instances that the Dedicated host supports.
      • setAvailableInstanceCapacity

        public void setAvailableInstanceCapacity​(Collection<InstanceCapacity> availableInstanceCapacity)

        The total number of instances that the Dedicated host supports.

        Parameters:
        availableInstanceCapacity - The total number of instances that the Dedicated host supports.
      • withAvailableInstanceCapacity

        public AvailableCapacity withAvailableInstanceCapacity​(Collection<InstanceCapacity> availableInstanceCapacity)

        The total number of instances that the Dedicated host supports.

        Parameters:
        availableInstanceCapacity - The total number of instances that the Dedicated host supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAvailableVCpus

        public void setAvailableVCpus​(Integer availableVCpus)

        The number of vCPUs available on the Dedicated host.

        Parameters:
        availableVCpus - The number of vCPUs available on the Dedicated host.
      • getAvailableVCpus

        public Integer getAvailableVCpus()

        The number of vCPUs available on the Dedicated host.

        Returns:
        The number of vCPUs available on the Dedicated host.
      • withAvailableVCpus

        public AvailableCapacity withAvailableVCpus​(Integer availableVCpus)

        The number of vCPUs available on the Dedicated host.

        Parameters:
        availableVCpus - The number of vCPUs available on the Dedicated host.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object