Interface Reservation.Builder

  • Method Details

    • capacity

      Reservation.Builder capacity(Integer capacity)

      The number of Redshift Processing Units (RPUs) to reserve.

      Parameters:
      capacity - The number of Redshift Processing Units (RPUs) to reserve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDate

      Reservation.Builder endDate(Instant endDate)

      The end date for the serverless reservation. This date is one year after the start date that you specify.

      Parameters:
      endDate - The end date for the serverless reservation. This date is one year after the start date that you specify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offering

      The type of offering for the reservation. The offering class determines the payment schedule for the reservation.

      Parameters:
      offering - The type of offering for the reservation. The offering class determines the payment schedule for the reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offering

      The type of offering for the reservation. The offering class determines the payment schedule for the reservation.

      This is a convenience method that creates an instance of the ReservationOffering.Builder avoiding the need to create one manually via ReservationOffering.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to offering(ReservationOffering).

      Parameters:
      offering - a consumer that will call methods on ReservationOffering.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reservationArn

      Reservation.Builder reservationArn(String reservationArn)

      The Amazon Resource Name (ARN) that uniquely identifies the serverless reservation.

      Parameters:
      reservationArn - The Amazon Resource Name (ARN) that uniquely identifies the serverless reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reservationId

      Reservation.Builder reservationId(String reservationId)

      The identifier that uniquely identifies the serverless reservation.

      Parameters:
      reservationId - The identifier that uniquely identifies the serverless reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startDate

      Reservation.Builder startDate(Instant startDate)

      The start date for the serverless reservation. This is the date you specified for the reservation to start when you created the reservation.

      Parameters:
      startDate - The start date for the serverless reservation. This is the date you specified for the reservation to start when you created the reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Reservation.Builder status(String status)

      The status of the reservation. Possible values include the following:

      • payment-pending

      • active

      • payment-failed

      • retired

      Parameters:
      status - The status of the reservation. Possible values include the following:

      • payment-pending

      • active

      • payment-failed

      • retired

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