Package com.oracle.bmc.psql.model
Class MonthlyBackupPolicy.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.model.MonthlyBackupPolicy.Builder
-
- Enclosing class:
- MonthlyBackupPolicy
public static class MonthlyBackupPolicy.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonthlyBackupPolicy.Builder
backupStart(String backupStart)
Hour of the day when backup starts.MonthlyBackupPolicy
build()
MonthlyBackupPolicy.Builder
copy(MonthlyBackupPolicy model)
MonthlyBackupPolicy.Builder
copyPolicy(BackupCopyPolicy copyPolicy)
MonthlyBackupPolicy.Builder
daysOfTheMonth(List<Integer> daysOfTheMonth)
Day of the month when the backup should start.MonthlyBackupPolicy.Builder
retentionDays(Integer retentionDays)
-
-
-
Method Detail
-
retentionDays
public MonthlyBackupPolicy.Builder retentionDays(Integer retentionDays)
-
copyPolicy
public MonthlyBackupPolicy.Builder copyPolicy(BackupCopyPolicy copyPolicy)
-
backupStart
public MonthlyBackupPolicy.Builder backupStart(String backupStart)
Hour of the day when backup starts.- Parameters:
backupStart
- the value to set- Returns:
- this builder
-
daysOfTheMonth
public 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.
- Parameters:
daysOfTheMonth
- the value to set- Returns:
- this builder
-
build
public MonthlyBackupPolicy build()
-
copy
public MonthlyBackupPolicy.Builder copy(MonthlyBackupPolicy model)
-
-