public static class PoolSchedule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PoolSchedule |
build() |
PoolSchedule.Builder |
copy(PoolSchedule model) |
PoolSchedule.Builder |
dayOfWeek(DayOfWeek dayOfWeek)
Day of the week SUN-SAT
|
PoolSchedule.Builder |
startTime(Integer startTime)
Hour of the day to start or stop pool.
|
PoolSchedule.Builder |
stopTime(Integer stopTime)
Hour of the day to stop the pool.
|
public PoolSchedule.Builder dayOfWeek(DayOfWeek dayOfWeek)
Day of the week SUN-SAT
dayOfWeek
- the value to setpublic PoolSchedule.Builder startTime(Integer startTime)
Hour of the day to start or stop pool.
startTime
- the value to setpublic PoolSchedule.Builder stopTime(Integer stopTime)
Hour of the day to stop the pool.
stopTime
- the value to setpublic PoolSchedule build()
public PoolSchedule.Builder copy(PoolSchedule model)
Copyright © 2016–2024. All rights reserved.