Package com.oracle.bmc.dataflow.model
Class PoolSchedule.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.PoolSchedule.Builder
-
- Enclosing class:
- PoolSchedule
public static class PoolSchedule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PoolSchedule
build()
PoolSchedule.Builder
copy(PoolSchedule model)
PoolSchedule.Builder
dayOfWeek(DayOfWeek dayOfWeek)
Day of the week SUN-SATPoolSchedule.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.
-
-
-
Method Detail
-
dayOfWeek
public PoolSchedule.Builder dayOfWeek(DayOfWeek dayOfWeek)
Day of the week SUN-SAT- Parameters:
dayOfWeek
- the value to set- Returns:
- this builder
-
startTime
public PoolSchedule.Builder startTime(Integer startTime)
Hour of the day to start or stop pool.- Parameters:
startTime
- the value to set- Returns:
- this builder
-
stopTime
public PoolSchedule.Builder stopTime(Integer stopTime)
Hour of the day to stop the pool.- Parameters:
stopTime
- the value to set- Returns:
- this builder
-
build
public PoolSchedule build()
-
copy
public PoolSchedule.Builder copy(PoolSchedule model)
-
-