Interface CapacityReservationCommitmentInfo.Builder

    • Method Detail

      • committedInstanceCount

        CapacityReservationCommitmentInfo.Builder committedInstanceCount​(Integer committedInstanceCount)

        The instance capacity that you committed to when you requested the future-dated Capacity Reservation.

        Parameters:
        committedInstanceCount - The instance capacity that you committed to when you requested the future-dated Capacity Reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • commitmentEndDate

        CapacityReservationCommitmentInfo.Builder commitmentEndDate​(Instant commitmentEndDate)

        The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone ( YYYY-MM-DDThh:mm:ss.sssZ). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.

        Parameters:
        commitmentEndDate - The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.