Interface CapacityReservationAdjustmentDetails.Builder

  • Method Details

    • startDate

      The start date that the Capacity Reservation will have after the adjustment.

      Parameters:
      startDate - The start date that the Capacity Reservation will have after the adjustment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDate

      The end date that the Capacity Reservation will have after the adjustment.

      Parameters:
      endDate - The end date that the Capacity Reservation will have after the adjustment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commitmentEndDate

      CapacityReservationAdjustmentDetails.Builder commitmentEndDate(Instant commitmentEndDate)

      The date and time at which the commitment duration will expire after the adjustment.

      Parameters:
      commitmentEndDate - The date and time at which the commitment duration will expire after the adjustment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDateType

      Indicates the way in which the Capacity Reservation will end after the adjustment. Possible values are:

      • unlimited - The Capacity Reservation remains active until you explicitly cancel it.

      • limited - The Capacity Reservation expires automatically at the date and time given by endDate.

      Parameters:
      endDateType - Indicates the way in which the Capacity Reservation will end after the adjustment. Possible values are:

      • unlimited - The Capacity Reservation remains active until you explicitly cancel it.

      • limited - The Capacity Reservation expires automatically at the date and time given by endDate.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commitmentDuration

      CapacityReservationAdjustmentDetails.Builder commitmentDuration(Long commitmentDuration)

      The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment.

      Parameters:
      commitmentDuration - The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.