public enum AWSIotQos extends Enum<AWSIotQos>
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the integer representation of the QoS
|
static AWSIotQos |
valueOf(int qos)
Gets the Enum representation of the QoS
|
static AWSIotQos |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AWSIotQos[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AWSIotQos QOS0
public static final AWSIotQos QOS1
public static AWSIotQos[] values()
for (AWSIotQos c : AWSIotQos.values()) System.out.println(c);
public static AWSIotQos 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 int getValue()
public static AWSIotQos valueOf(int qos)
qos
- the integer value of the QoSCopyright © 2020. All rights reserved.