public final class BackupOptions extends BaseActionOptions
BaseActionOptions.OptionEnum
Modifier and Type | Method and Description |
---|---|
static BackupOptions |
create(String backupName)
Create a new Backup schedule with the given
backupName |
BackupOptions |
daily(int rotation)
Indicates the backup will run daily keeping
rotation copies |
String |
getBackupType() |
String |
getName() |
Integer |
getRotation() |
BackupOptions |
weekly(int rotation)
Indicates the backup will run weekly keeping
rotation copies |
add, get, toJsonString
public static BackupOptions create(String backupName)
backupName
backupName
- the name of the backuppublic BackupOptions daily(int rotation)
rotation
copiesrotation
- the number of backups to maintainpublic BackupOptions weekly(int rotation)
rotation
copiesrotation
- the number of backups to maintainpublic String getName()
public String getBackupType()
public Integer getRotation()
Copyright © 2017. All rights reserved.