public static enum DedicatedShardedDatabase.ReplicationMethod extends Enum<DedicatedShardedDatabase.ReplicationMethod> implements BmcEnum
The Replication method for sharded database. Use RAFT for Raft replication, and DG for DataGuard. If replicationMethod is not provided, it defaults to DG.
Enum Constant and Description |
---|
Dg |
Raft |
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 DedicatedShardedDatabase.ReplicationMethod |
create(String key) |
String |
getValue() |
static DedicatedShardedDatabase.ReplicationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DedicatedShardedDatabase.ReplicationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DedicatedShardedDatabase.ReplicationMethod Raft
public static final DedicatedShardedDatabase.ReplicationMethod Dg
public static final DedicatedShardedDatabase.ReplicationMethod UnknownEnumValue
public static DedicatedShardedDatabase.ReplicationMethod[] values()
for (DedicatedShardedDatabase.ReplicationMethod c : DedicatedShardedDatabase.ReplicationMethod.values()) System.out.println(c);
public static DedicatedShardedDatabase.ReplicationMethod 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 DedicatedShardedDatabase.ReplicationMethod create(String key)
Copyright © 2016–2024. All rights reserved.