Interface InstanceUsage.Builder

    • Method Detail

      • accountId

        InstanceUsage.Builder accountId​(String accountId)

        The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

        Parameters:
        accountId - The ID of the Amazon Web Services account that is making use of the Capacity Reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usedInstanceCount

        InstanceUsage.Builder usedInstanceCount​(Integer usedInstanceCount)

        The number of instances the Amazon Web Services account currently has in the Capacity Reservation.

        Parameters:
        usedInstanceCount - The number of instances the Amazon Web Services account currently has in the Capacity Reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.