public static class WeeklyBackupPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WeeklyBackupPolicy.Builder |
backupStart(String backupStart)
Hour of the day when the backup starts.
|
WeeklyBackupPolicy |
build() |
WeeklyBackupPolicy.Builder |
copy(WeeklyBackupPolicy model) |
WeeklyBackupPolicy.Builder |
daysOfTheWeek(List<WeeklyBackupPolicy.DaysOfTheWeek> daysOfTheWeek)
The day of the week that the backup starts.
|
WeeklyBackupPolicy.Builder |
retentionDays(Integer retentionDays) |
public WeeklyBackupPolicy.Builder retentionDays(Integer retentionDays)
public WeeklyBackupPolicy.Builder daysOfTheWeek(List<WeeklyBackupPolicy.DaysOfTheWeek> daysOfTheWeek)
The day of the week that the backup starts.
daysOfTheWeek
- the value to setpublic WeeklyBackupPolicy.Builder backupStart(String backupStart)
Hour of the day when the backup starts.
backupStart
- the value to setpublic WeeklyBackupPolicy build()
public WeeklyBackupPolicy.Builder copy(WeeklyBackupPolicy model)
Copyright © 2016–2024. All rights reserved.