Package com.vmware.nsx_policy.model
Class WeeklyBackupSchedule.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.WeeklyBackupSchedule.Builder
-
- Enclosing class:
- WeeklyBackupSchedule
public static final class WeeklyBackupSchedule.Builder extends java.lang.Object
Builder class forWeeklyBackupSchedule
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofWeeklyBackupSchedule
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeeklyBackupSchedule
build()
WeeklyBackupSchedule.Builder
setDaysOfWeek(java.util.List<java.lang.Long> daysOfWeek)
Days of week when backup is taken.WeeklyBackupSchedule.Builder
setHourOfDay(java.lang.Long hourOfDay)
Time of day when backup is taken format: int64WeeklyBackupSchedule.Builder
setMinuteOfDay(java.lang.Long minuteOfDay)
Time of day when backup is taken format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofWeeklyBackupSchedule
.
-
-
Method Detail
-
setDaysOfWeek
public WeeklyBackupSchedule.Builder setDaysOfWeek(java.util.List<java.lang.Long> daysOfWeek)
Days of week when backup is taken. 0 - Sunday, 1 - Monday, 2 - Tuesday, 3 - Wednesday ... format: int64- Parameters:
daysOfWeek
- New value for the property.
-
setHourOfDay
public WeeklyBackupSchedule.Builder setHourOfDay(java.lang.Long hourOfDay)
Time of day when backup is taken format: int64- Parameters:
hourOfDay
- New value for the property.
-
setMinuteOfDay
public WeeklyBackupSchedule.Builder setMinuteOfDay(java.lang.Long minuteOfDay)
Time of day when backup is taken format: int64- Parameters:
minuteOfDay
- New value for the property.
-
build
public WeeklyBackupSchedule build()
-
-