Enum CreateDistributedDatabaseDetails.ShardingMethod
- java.lang.Object
-
- java.lang.Enum<CreateDistributedDatabaseDetails.ShardingMethod>
-
- com.oracle.bmc.distributeddatabase.model.CreateDistributedDatabaseDetails.ShardingMethod
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateDistributedDatabaseDetails.ShardingMethod>
- Enclosing class:
- CreateDistributedDatabaseDetails
public static enum CreateDistributedDatabaseDetails.ShardingMethod extends Enum<CreateDistributedDatabaseDetails.ShardingMethod> implements BmcEnum
Sharding Methods for the Globally distributed database.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDistributedDatabaseDetails.ShardingMethod
create(String key)
String
getValue()
static CreateDistributedDatabaseDetails.ShardingMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateDistributedDatabaseDetails.ShardingMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
User
public static final CreateDistributedDatabaseDetails.ShardingMethod User
-
System
public static final CreateDistributedDatabaseDetails.ShardingMethod System
-
-
Method Detail
-
values
public static CreateDistributedDatabaseDetails.ShardingMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CreateDistributedDatabaseDetails.ShardingMethod c : CreateDistributedDatabaseDetails.ShardingMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateDistributedDatabaseDetails.ShardingMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static CreateDistributedDatabaseDetails.ShardingMethod create(String key)
-
-