ConnectionState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. ConnectionState
- com.
- com.
public final class ConnectionState
extends ExpandableStringEnum<ConnectionState>
The kind of connection error that occurred.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Connection |
DATACENTER_TO_DATACENTER_NETWORK_ERROR
Static value Datacenter |
static final
Connection |
INTERNAL_ERROR
Static value Internal |
static final
Connection |
INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR
Static value Internal |
static final
Connection |
OK
Static value OK for Connection |
static final
Connection |
OPERATOR_TO_DATA_CENTER_NETWORK_ERROR
Static value Operator |
static final
Connection |
UNKNOWN
Static value Unknown for Connection |
Constructor Summary
Constructor | Description |
---|---|
ConnectionState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Connection |
fromString(String name)
Creates or finds a Connection |
static
Collection<Connection |
values()
Gets known Connection |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DATACENTER_TO_DATACENTER_NETWORK_ERROR
public static final ConnectionState DATACENTER_TO_DATACENTER_NETWORK_ERROR
Static value DatacenterToDatacenterNetworkError for ConnectionState.
INTERNAL_ERROR
public static final ConnectionState INTERNAL_ERROR
Static value InternalError for ConnectionState.
INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR
public static final ConnectionState INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR
Static value InternalOperatorToDataCenterCertificateError for ConnectionState.
OK
public static final ConnectionState OK
Static value OK for ConnectionState.
OPERATOR_TO_DATA_CENTER_NETWORK_ERROR
public static final ConnectionState OPERATOR_TO_DATA_CENTER_NETWORK_ERROR
Static value OperatorToDataCenterNetworkError for ConnectionState.
UNKNOWN
public static final ConnectionState UNKNOWN
Static value Unknown for ConnectionState.
Constructor Details
ConnectionState
@Deprecated
public ConnectionState()
Deprecated
Creates a new instance of ConnectionState value.
Method Details
fromString
public static ConnectionState fromString(String name)
Creates or finds a ConnectionState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ConnectionState values.
Returns:
Applies to
Azure SDK for Java