public enum ClusterConnectorErrorCode extends Enum<ClusterConnectorErrorCode>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ClusterConnectorErrorCode.Adapter |
| 枚举常量和说明 |
|---|
CLUSTERCONNECTORERRORCODE_UNSUPPORTED_ENUM |
FAILED |
NETWORK_ERROR |
NOT_FOUND |
UNAUTHORIZED |
UNHEALTHY |
| 限定符和类型 | 方法和说明 |
|---|---|
static ClusterConnectorErrorCode |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static ClusterConnectorErrorCode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ClusterConnectorErrorCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ClusterConnectorErrorCode FAILED
public static final ClusterConnectorErrorCode NETWORK_ERROR
public static final ClusterConnectorErrorCode NOT_FOUND
public static final ClusterConnectorErrorCode UNAUTHORIZED
public static final ClusterConnectorErrorCode UNHEALTHY
public static final ClusterConnectorErrorCode CLUSTERCONNECTORERRORCODE_UNSUPPORTED_ENUM
public static ClusterConnectorErrorCode[] values()
for (ClusterConnectorErrorCode c : ClusterConnectorErrorCode.values()) System.out.println(c);
public static ClusterConnectorErrorCode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String toString()
toString 在类中 Enum<ClusterConnectorErrorCode>public static ClusterConnectorErrorCode fromValue(String value)
Copyright © 2025. All rights reserved.