public static enum AutonomousDwDatabase.Role extends Enum<AutonomousDwDatabase.Role> implements BmcEnum
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
Enum Constant and Description |
---|
BackupCopy |
DisabledStandby |
Primary |
SnapshotStandby |
Standby |
Modifier and Type | Method and Description |
---|---|
static AutonomousDwDatabase.Role |
create(String key) |
String |
getValue() |
static AutonomousDwDatabase.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutonomousDwDatabase.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutonomousDwDatabase.Role Primary
public static final AutonomousDwDatabase.Role Standby
public static final AutonomousDwDatabase.Role DisabledStandby
public static final AutonomousDwDatabase.Role BackupCopy
public static final AutonomousDwDatabase.Role SnapshotStandby
public static AutonomousDwDatabase.Role[] values()
for (AutonomousDwDatabase.Role c : AutonomousDwDatabase.Role.values()) System.out.println(c);
public static AutonomousDwDatabase.Role 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 AutonomousDwDatabase.Role create(String key)
Copyright © 2016–2025. All rights reserved.