Enum BrokerType
- All Implemented Interfaces:
Serializable,Comparable<BrokerType>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-10T17:52:12.162Z")
@Stability(Experimental)
public enum BrokerType
extends Enum<BrokerType>
(experimental) The broker type for the cluster.
Example:
Vpc vpc;
Cluster expressCluster = Cluster.Builder.create(this, "ExpressCluster")
.clusterName("MyExpressCluster")
.kafkaVersion(KafkaVersion.V3_8_X)
.vpc(vpc)
.brokerType(BrokerType.EXPRESS)
.instanceType(InstanceType.of(InstanceClass.M7G, InstanceSize.XLARGE))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic BrokerTypeReturns the enum constant of this type with the specified name.static BrokerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STANDARD
(experimental) Standard brokers provide high-availability guarantees. -
EXPRESS
(experimental) Express brokers are a low-cost option for development, testing, and workloads that don't require the high availability guarantees of standard MSK cluster.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-