@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ReservationUpdateRequest extends Object
ReservationUpdateRequest
captures the set of requirements the user
has to update an existing reservation.ReservationDefinition
Constructor and Description |
---|
ReservationUpdateRequest() |
Modifier and Type | Method and Description |
---|---|
abstract ReservationDefinition |
getReservationDefinition()
Get the
ReservationDefinition representing the updated user
constraints for this reservation |
abstract ReservationId |
getReservationId()
Get the
ReservationId , that corresponds to a valid resource
allocation in the scheduler (between start and end time of this
reservation) |
static ReservationUpdateRequest |
newInstance(ReservationDefinition reservationDefinition,
ReservationId reservationId) |
abstract void |
setReservationDefinition(ReservationDefinition reservationDefinition)
Set the
ReservationDefinition representing the updated user
constraints for this reservation |
abstract void |
setReservationId(ReservationId reservationId)
Set the
ReservationId , that correspond to a valid resource
allocation in the scheduler (between start and end time of this
reservation) |
@InterfaceAudience.Public @InterfaceStability.Unstable public static ReservationUpdateRequest newInstance(ReservationDefinition reservationDefinition, ReservationId reservationId)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ReservationDefinition getReservationDefinition()
ReservationDefinition
representing the updated user
constraints for this reservation@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setReservationDefinition(ReservationDefinition reservationDefinition)
ReservationDefinition
representing the updated user
constraints for this reservationreservationDefinition
- the reservation request representing the
reservation@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ReservationId getReservationId()
ReservationId
, that corresponds to a valid resource
allocation in the scheduler (between start and end time of this
reservation)ReservationId
representing the unique id of the
corresponding reserved resource allocation in the scheduler@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setReservationId(ReservationId reservationId)
ReservationId
, that correspond to a valid resource
allocation in the scheduler (between start and end time of this
reservation)reservationId
- the ReservationId
representing the the unique
id of the corresponding reserved resource allocation in the
schedulerCopyright © 2018 Apache Software Foundation. All rights reserved.