@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:45.878Z") public enum ClusterType extends java.lang.Enum<ClusterType>
Used by {@link ClusterProps.clusterType}
Enum Constant and Description |
---|
MULTI_NODE
(experimental) multi-node cluster, set the amount of nodes using
ClusterProps.numberOfNodes parameter. |
SINGLE_NODE
(experimental) single-node cluster, the
ClusterProps.numberOfNodes parameter is not required. |
Modifier and Type | Method and Description |
---|---|
static ClusterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterType SINGLE_NODE
ClusterProps.numberOfNodes
parameter is not required.public static final ClusterType MULTI_NODE
ClusterProps.numberOfNodes
parameter.public static ClusterType[] values()
for (ClusterType c : ClusterType.values()) System.out.println(c);
public static ClusterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null