public static final class ReservationSchedule.Builder
extends java.lang.Object
ReservationSchedule
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ReservationSchedule . |
Modifier and Type | Method and Description |
---|---|
ReservationSchedule |
build() |
ReservationSchedule.Builder |
setDayOfWeek(java.lang.String dayOfWeek)
Possible values are:
ReservationSchedule.DAY_OF_WEEK_SUNDAY ReservationSchedule.DAY_OF_WEEK_MONDAY ReservationSchedule.DAY_OF_WEEK_TUESDAY ReservationSchedule.DAY_OF_WEEK_WEDNESDAY ReservationSchedule.DAY_OF_WEEK_THURSDAY ReservationSchedule.DAY_OF_WEEK_FRIDAY ReservationSchedule.DAY_OF_WEEK_SATURDAY |
ReservationSchedule.Builder |
setDurationMin(java.lang.Long durationMin) |
ReservationSchedule.Builder |
setHourOfDay(java.lang.Long hourOfDay) |
ReservationSchedule.Builder |
setReservations(java.util.List<Reservation> reservations) |
ReservationSchedule.Builder |
setReservationsMw(java.util.List<ReservationInMw> reservationsMw) |
ReservationSchedule.Builder |
setVersion(java.lang.Long version) |
public Builder()
ReservationSchedule
.public ReservationSchedule.Builder setDayOfWeek(java.lang.String dayOfWeek)
dayOfWeek
- New value for the property.public ReservationSchedule.Builder setHourOfDay(java.lang.Long hourOfDay)
hourOfDay
- New value for the property.public ReservationSchedule.Builder setDurationMin(java.lang.Long durationMin)
durationMin
- New value for the property.public ReservationSchedule.Builder setVersion(java.lang.Long version)
version
- New value for the property.public ReservationSchedule.Builder setReservations(java.util.List<Reservation> reservations)
reservations
- New value for the property.public ReservationSchedule.Builder setReservationsMw(java.util.List<ReservationInMw> reservationsMw)
reservationsMw
- New value for the property.public ReservationSchedule build()