Package io.trino.plugin.kafka.security
Enum KafkaEndpointIdentificationAlgorithm
- java.lang.Object
-
- java.lang.Enum<KafkaEndpointIdentificationAlgorithm>
-
- io.trino.plugin.kafka.security.KafkaEndpointIdentificationAlgorithm
-
- All Implemented Interfaces:
Serializable,Comparable<KafkaEndpointIdentificationAlgorithm>
public enum KafkaEndpointIdentificationAlgorithm extends Enum<KafkaEndpointIdentificationAlgorithm>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<KafkaEndpointIdentificationAlgorithm>fromString(String value)StringgetValue()static KafkaEndpointIdentificationAlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static KafkaEndpointIdentificationAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTPS
public static final KafkaEndpointIdentificationAlgorithm HTTPS
-
DISABLED
public static final KafkaEndpointIdentificationAlgorithm DISABLED
-
-
Method Detail
-
values
public static KafkaEndpointIdentificationAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KafkaEndpointIdentificationAlgorithm c : KafkaEndpointIdentificationAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KafkaEndpointIdentificationAlgorithm valueOf(String name)
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
-
fromString
public static Optional<KafkaEndpointIdentificationAlgorithm> fromString(String value)
-
getValue
public String getValue()
-
-