public static class MonthlyBackupPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonthlyBackupPolicy.Builder |
backupStart(String backupStart)
Hour of the day when backup starts.
|
MonthlyBackupPolicy |
build() |
MonthlyBackupPolicy.Builder |
copy(MonthlyBackupPolicy model) |
MonthlyBackupPolicy.Builder |
daysOfTheMonth(List<Integer> daysOfTheMonth)
Day of the month when the backup should start.
|
MonthlyBackupPolicy.Builder |
retentionDays(Integer retentionDays) |
public MonthlyBackupPolicy.Builder retentionDays(Integer retentionDays)
public MonthlyBackupPolicy.Builder backupStart(String backupStart)
Hour of the day when backup starts.
backupStart
- the value to setpublic MonthlyBackupPolicy.Builder daysOfTheMonth(List<Integer> daysOfTheMonth)
Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day.
daysOfTheMonth
- the value to setpublic MonthlyBackupPolicy build()
public MonthlyBackupPolicy.Builder copy(MonthlyBackupPolicy model)
Copyright © 2016–2024. All rights reserved.