Interface InstanceCapacity.Builder

    • Method Detail

      • availableCapacity

        InstanceCapacity.Builder availableCapacity​(Integer availableCapacity)

        The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.

        Parameters:
        availableCapacity - The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceType

        InstanceCapacity.Builder instanceType​(String instanceType)

        The instance type supported by the Dedicated Host.

        Parameters:
        instanceType - The instance type supported by the Dedicated Host.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalCapacity

        InstanceCapacity.Builder totalCapacity​(Integer totalCapacity)

        The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.

        Parameters:
        totalCapacity - The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.