@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-09T19:25:26.072Z") @Stability(value=Experimental) public enum ClusterType extends 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(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.@Stability(value=Experimental) 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(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 © 2022. All rights reserved.