Enum SubscriptionResponseMessage.UnionMember
- java.lang.Object
-
- java.lang.Enum<SubscriptionResponseMessage.UnionMember>
-
- software.amazon.awssdk.aws.greengrass.model.SubscriptionResponseMessage.UnionMember
-
- All Implemented Interfaces:
Serializable
,Comparable<SubscriptionResponseMessage.UnionMember>
- Enclosing class:
- SubscriptionResponseMessage
public static enum SubscriptionResponseMessage.UnionMember extends Enum<SubscriptionResponseMessage.UnionMember>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY_MESSAGE
JSON_MESSAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubscriptionResponseMessage.UnionMember
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubscriptionResponseMessage.UnionMember[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JSON_MESSAGE
public static final SubscriptionResponseMessage.UnionMember JSON_MESSAGE
-
BINARY_MESSAGE
public static final SubscriptionResponseMessage.UnionMember BINARY_MESSAGE
-
-
Method Detail
-
values
public static SubscriptionResponseMessage.UnionMember[] 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 (SubscriptionResponseMessage.UnionMember c : SubscriptionResponseMessage.UnionMember.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionResponseMessage.UnionMember 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
-
-