public enum IotHubClientProtocol extends java.lang.Enum<IotHubClientProtocol>
| Enum Constant and Description |
|---|
AMQPS |
AMQPS_WS |
HTTPS |
MQTT |
MQTT_WS |
| Modifier and Type | Method and Description |
|---|---|
static IotHubClientProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IotHubClientProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IotHubClientProtocol HTTPS
public static final IotHubClientProtocol AMQPS
public static final IotHubClientProtocol MQTT
public static final IotHubClientProtocol AMQPS_WS
public static final IotHubClientProtocol MQTT_WS
public static IotHubClientProtocol[] values()
for (IotHubClientProtocol c : IotHubClientProtocol.values()) System.out.println(c);
public static IotHubClientProtocol valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2023. All rights reserved.