Package com.oracle.bmc.bds.model
Enum AddBlockStorageDetails.NodeType
- java.lang.Object
-
- java.lang.Enum<AddBlockStorageDetails.NodeType>
-
- com.oracle.bmc.bds.model.AddBlockStorageDetails.NodeType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<AddBlockStorageDetails.NodeType>
- Enclosing class:
- AddBlockStorageDetails
public static enum AddBlockStorageDetails.NodeType extends Enum<AddBlockStorageDetails.NodeType> implements BmcEnum
Worker node types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ComputeOnlyWorker
KafkaBroker
Worker
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddBlockStorageDetails.NodeType
create(String key)
String
getValue()
static AddBlockStorageDetails.NodeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AddBlockStorageDetails.NodeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Worker
public static final AddBlockStorageDetails.NodeType Worker
-
ComputeOnlyWorker
public static final AddBlockStorageDetails.NodeType ComputeOnlyWorker
-
KafkaBroker
public static final AddBlockStorageDetails.NodeType KafkaBroker
-
-
Method Detail
-
values
public static AddBlockStorageDetails.NodeType[] 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 (AddBlockStorageDetails.NodeType c : AddBlockStorageDetails.NodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AddBlockStorageDetails.NodeType 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 AddBlockStorageDetails.NodeType create(String key)
-
-