Package software.amazon.awssdk.crt.iot
Enum SubscriptionStatusEventType
java.lang.Object
java.lang.Enum<SubscriptionStatusEventType>
software.amazon.awssdk.crt.iot.SubscriptionStatusEventType
- All Implemented Interfaces:
Serializable,Comparable<SubscriptionStatusEventType>
The type of change to the state of a streaming operation subscription
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe streaming operation is successfully subscribed to its topic (filter)The streaming operation has entered a terminal state where it has given up trying to subscribe to its topic (filter).The streaming operation has temporarily lost its subscription to its topic (filter) -
Method Summary
Modifier and TypeMethodDescriptionstatic SubscriptionStatusEventTypegetEnumValueFromInteger(int value) Creates a Java SubscriptionStatusEventType enum value from a native integer valueintgetValue()static SubscriptionStatusEventTypeReturns the enum constant of this type with the specified name.static SubscriptionStatusEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUBSCRIPTION_ESTABLISHED
The streaming operation is successfully subscribed to its topic (filter) -
SUBSCRIPTION_LOST
The streaming operation has temporarily lost its subscription to its topic (filter) -
SUBSCRIPTION_HALTED
The streaming operation has entered a terminal state where it has given up trying to subscribe to its topic (filter). This is always due to user error (bad topic filter or IoT Core permission policy).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
public int getValue()- Returns:
- the native enum integer value associated with this Java enum value
-
getEnumValueFromInteger
Creates a Java SubscriptionStatusEventType enum value from a native integer value- Parameters:
value- native integer value to convert to a SubscriptionStatusEventType instance- Returns:
- a SubscriptionStatusEventType value
-