public static enum JavaMessageServiceConnection.SecurityProtocol extends Enum<JavaMessageServiceConnection.SecurityProtocol> implements BmcEnum
Security protocol for Java Message Service. If not provided, default is PLAIN. Optional until 2024-06-27, in the release after it will be made required.
Enum Constant and 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.
|
Modifier and Type | Method and Description |
---|---|
static JavaMessageServiceConnection.SecurityProtocol |
create(String key) |
String |
getValue() |
static JavaMessageServiceConnection.SecurityProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaMessageServiceConnection.SecurityProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaMessageServiceConnection.SecurityProtocol Plain
public static final JavaMessageServiceConnection.SecurityProtocol Tls
public static final JavaMessageServiceConnection.SecurityProtocol Mtls
public static final JavaMessageServiceConnection.SecurityProtocol UnknownEnumValue
public static JavaMessageServiceConnection.SecurityProtocol[] values()
for (JavaMessageServiceConnection.SecurityProtocol c : JavaMessageServiceConnection.SecurityProtocol.values()) System.out.println(c);
public static JavaMessageServiceConnection.SecurityProtocol 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 JavaMessageServiceConnection.SecurityProtocol create(String key)
Copyright © 2016–2024. All rights reserved.