public final class AckErrorCode extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AckErrorCode.Values
All known values for
AckErrorCode . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AckErrorCode.Values |
getEnumValue() |
String |
getRawValue() |
int |
hashCode() |
static AckErrorCode |
of(AckErrorCode.Values value)
Create a new
AckErrorCode from an enum value. |
static AckErrorCode |
of(String value)
Create a new
AckErrorCode from the String value. |
String |
toString() |
public static AckErrorCode of(String value)
AckErrorCode
from the String value.value
- String value of the error code.AckErrorCode
or null if the value was null.public static AckErrorCode of(AckErrorCode.Values value)
AckErrorCode
from an enum value.value
- String value of the error code.AckErrorCode
or null if the value was null.public String getRawValue()
public AckErrorCode.Values getEnumValue()
AckErrorCode.Values.SDK_UNKNOWN
which indicates
this version of the SDK does not know about that particular enum value. If processing an unknown value is required
you can get the raw string value from getRawValue()
.