public static enum DbBackupConfig.BackupDeletionPolicy extends Enum<DbBackupConfig.BackupDeletionPolicy> implements BmcEnum
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently… - RETAIN will keep the backups as per the policy defined for database backups.
Enum Constant and Description |
---|
DeleteAfterRetentionPeriod |
DeleteImmediately |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static DbBackupConfig.BackupDeletionPolicy |
create(String key) |
String |
getValue() |
static DbBackupConfig.BackupDeletionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbBackupConfig.BackupDeletionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbBackupConfig.BackupDeletionPolicy DeleteImmediately
public static final DbBackupConfig.BackupDeletionPolicy DeleteAfterRetentionPeriod
public static final DbBackupConfig.BackupDeletionPolicy UnknownEnumValue
public static DbBackupConfig.BackupDeletionPolicy[] values()
for (DbBackupConfig.BackupDeletionPolicy c : DbBackupConfig.BackupDeletionPolicy.values()) System.out.println(c);
public static DbBackupConfig.BackupDeletionPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static DbBackupConfig.BackupDeletionPolicy create(String key)
Copyright © 2016–2024. All rights reserved.