Package com.oracle.bmc.bds.model
Enum AddWorkerNodesDetails.NodeType
- java.lang.Object
-
- java.lang.Enum<AddWorkerNodesDetails.NodeType>
-
- com.oracle.bmc.bds.model.AddWorkerNodesDetails.NodeType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<AddWorkerNodesDetails.NodeType>
- Enclosing class:
- AddWorkerNodesDetails
public static enum AddWorkerNodesDetails.NodeType extends Enum<AddWorkerNodesDetails.NodeType> implements BmcEnum
Worker node types, can either be Worker Data node or Compute only worker node.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ComputeOnlyWorker
Edge
KafkaBroker
Worker
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddWorkerNodesDetails.NodeType
create(String key)
String
getValue()
static AddWorkerNodesDetails.NodeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AddWorkerNodesDetails.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 AddWorkerNodesDetails.NodeType Worker
-
ComputeOnlyWorker
public static final AddWorkerNodesDetails.NodeType ComputeOnlyWorker
-
Edge
public static final AddWorkerNodesDetails.NodeType Edge
-
KafkaBroker
public static final AddWorkerNodesDetails.NodeType KafkaBroker
-
-
Method Detail
-
values
public static AddWorkerNodesDetails.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 (AddWorkerNodesDetails.NodeType c : AddWorkerNodesDetails.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 AddWorkerNodesDetails.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 AddWorkerNodesDetails.NodeType create(String key)
-
-