public static enum DataGuardAssociation.PeerRole extends Enum<DataGuardAssociation.PeerRole> implements BmcEnum
The role of the peer database in this Data Guard association.
Enum Constant and Description |
---|
DisabledStandby |
Primary |
Standby |
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 DataGuardAssociation.PeerRole |
create(String key) |
String |
getValue() |
static DataGuardAssociation.PeerRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataGuardAssociation.PeerRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataGuardAssociation.PeerRole Primary
public static final DataGuardAssociation.PeerRole Standby
public static final DataGuardAssociation.PeerRole DisabledStandby
public static final DataGuardAssociation.PeerRole UnknownEnumValue
public static DataGuardAssociation.PeerRole[] values()
for (DataGuardAssociation.PeerRole c : DataGuardAssociation.PeerRole.values()) System.out.println(c);
public static DataGuardAssociation.PeerRole 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 DataGuardAssociation.PeerRole create(String key)
Copyright © 2016–2025. All rights reserved.