public enum BrokerType extends Enum<BrokerType>
| Enum Constant and Description |
|---|
CONFLUENT_CLOUD |
CONFLUENT_PLATFORM |
| Modifier and Type | Method and Description |
|---|---|
static BrokerType | fromString(String value) |
static String[] | stringValues() |
String | toString() |
static BrokerType | valueOf(String name)Returns 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. |
public static final BrokerType CONFLUENT_PLATFORM
public static final BrokerType CONFLUENT_CLOUD
public static BrokerType[] values()
for (BrokerType c : BrokerType.values()) System.out.println(c);
public static BrokerType 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 nullpublic static BrokerType fromString(String value)
public String toString()
toString in class Enum<BrokerType>public static String[] stringValues()