Interface InstanceUsage.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstanceUsage.Builder,InstanceUsage>, SdkBuilder<InstanceUsage.Builder,InstanceUsage>, SdkPojo
Enclosing class:
InstanceUsage

public static interface InstanceUsage.Builder extends SdkPojo, CopyableBuilder<InstanceUsage.Builder,InstanceUsage>
  • Method Details

    • 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.