@Generated(value="jsii-pacmak/1.6.0 (build 248e75b)", date="2020-06-04T00:02:28.473Z") @Stability(value=Experimental) public enum ClusterType extends Enum<ClusterType>
Used by {@link ClusterProps.clusterType}
EXPERIMENTAL
| Enum Constant and Description |
|---|
MULTI_NODE
multi-node cluster, set the amount of nodes using
ClusterProps.numberOfNodes parameter. |
SINGLE_NODE
single-node cluster, the
ClusterProps.numberOfNodes parameter is not required. |
| Modifier and Type | Method and Description |
|---|---|
static ClusterType |
valueOf(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.
|
@Stability(value=Experimental) public static final ClusterType SINGLE_NODE
ClusterProps.numberOfNodes parameter is not required.
EXPERIMENTAL
@Stability(value=Experimental) public static final ClusterType MULTI_NODE
ClusterProps.numberOfNodes parameter.
EXPERIMENTAL
public static ClusterType[] values()
for (ClusterType c : ClusterType.values()) System.out.println(c);
public static ClusterType 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 nullCopyright © 2020. All rights reserved.