@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ReservationListResponse extends Object
ReservationListResponse
captures the list of reservations that the
user has queried.
The resulting list of ReservationAllocationState
contains a list of
ResourceAllocationRequest
representing the current state of the
reservation resource allocations will be returned. This is subject to change
in the event of re-planning a described by ReservationDefinition
ReservationAllocationState
Constructor and Description |
---|
ReservationListResponse() |
Modifier and Type | Method and Description |
---|---|
abstract List<ReservationAllocationState> |
getReservationAllocationState()
Get the list of
ReservationAllocationState , that corresponds
to a reservation in the scheduler. |
static ReservationListResponse |
newInstance(List<ReservationAllocationState> reservationAllocationState) |
abstract void |
setReservationAllocationState(List<ReservationAllocationState> reservationAllocationState)
Set the list of
ReservationAllocationState , that correspond
to a reservation in the scheduler. |
@InterfaceAudience.Private @InterfaceStability.Unstable public static ReservationListResponse newInstance(List<ReservationAllocationState> reservationAllocationState)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract List<ReservationAllocationState> getReservationAllocationState()
ReservationAllocationState
, that corresponds
to a reservation in the scheduler.ReservationAllocationState
which holds
information of a particular reservation@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setReservationAllocationState(List<ReservationAllocationState> reservationAllocationState)
ReservationAllocationState
, that correspond
to a reservation in the scheduler.reservationAllocationState
- the list of
ReservationAllocationState
which holds information of a
particular reservation.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.