Package com.oracle.bmc.goldengate.model
Enum RedisConnection.SecurityProtocol
- java.lang.Object
-
- java.lang.Enum<RedisConnection.SecurityProtocol>
-
- com.oracle.bmc.goldengate.model.RedisConnection.SecurityProtocol
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<RedisConnection.SecurityProtocol>
- Enclosing class:
- RedisConnection
public static enum RedisConnection.SecurityProtocol extends Enum<RedisConnection.SecurityProtocol> implements BmcEnum
Security protocol for Redis
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Mtls
Plain
Tls
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RedisConnection.SecurityProtocol
create(String key)
String
getValue()
static RedisConnection.SecurityProtocol
valueOf(String name)
Returns the enum constant of this type with the specified name.static RedisConnection.SecurityProtocol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Plain
public static final RedisConnection.SecurityProtocol Plain
-
Tls
public static final RedisConnection.SecurityProtocol Tls
-
Mtls
public static final RedisConnection.SecurityProtocol Mtls
-
UnknownEnumValue
public static final RedisConnection.SecurityProtocol UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static RedisConnection.SecurityProtocol[] 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 (RedisConnection.SecurityProtocol c : RedisConnection.SecurityProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedisConnection.SecurityProtocol 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
-
create
public static RedisConnection.SecurityProtocol create(String key)
-
-