Enum AwsIotConnectionType
- java.lang.Object
-
- java.lang.Enum<AwsIotConnectionType>
-
- com.amazonaws.services.iot.client.core.AwsIotConnectionType
-
- All Implemented Interfaces:
Serializable,Comparable<AwsIotConnectionType>
public enum AwsIotConnectionType extends Enum<AwsIotConnectionType>
Connection types supported by this library.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MQTT_OVER_TLSThe mqtt over tls.MQTT_OVER_WEBSOCKETThe mqtt over websocket.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AwsIotConnectionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AwsIotConnectionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MQTT_OVER_TLS
public static final AwsIotConnectionType MQTT_OVER_TLS
The mqtt over tls.
-
MQTT_OVER_WEBSOCKET
public static final AwsIotConnectionType MQTT_OVER_WEBSOCKET
The mqtt over websocket.
-
-
Method Detail
-
values
public static AwsIotConnectionType[] 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 (AwsIotConnectionType c : AwsIotConnectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AwsIotConnectionType 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
-
-