@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CrossConnectStatus extends Object
The status of the cross-connect.
Note: Objects should always be created or deserialized using the CrossConnectStatus.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the CrossConnectStatus.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
CrossConnectStatus.Builder |
static class |
CrossConnectStatus.InterfaceState
Whether Oracle’s side of the interface is up or down.
|
static class |
CrossConnectStatus.LightLevelIndicator
Status indicator corresponding to the light level.
|
| Constructor and Description |
|---|
CrossConnectStatus(String crossConnectId,
CrossConnectStatus.InterfaceState interfaceState,
Float lightLevelIndBm,
CrossConnectStatus.LightLevelIndicator lightLevelIndicator)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CrossConnectStatus.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCrossConnectId()
The OCID of the cross-connect.
|
CrossConnectStatus.InterfaceState |
getInterfaceState()
Whether Oracle’s side of the interface is up or down.
|
Float |
getLightLevelIndBm()
The light level of the cross-connect (in dBm).
|
CrossConnectStatus.LightLevelIndicator |
getLightLevelIndicator()
Status indicator corresponding to the light level.
|
int |
hashCode() |
CrossConnectStatus.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"crossConnectId","interfaceState","lightLevelIndBm","lightLevelIndicator"}) @Deprecated public CrossConnectStatus(String crossConnectId, CrossConnectStatus.InterfaceState interfaceState, Float lightLevelIndBm, CrossConnectStatus.LightLevelIndicator lightLevelIndicator)
public static CrossConnectStatus.Builder builder()
Create a new builder.
public CrossConnectStatus.Builder toBuilder()
public String getCrossConnectId()
The OCID of the cross-connect.
public CrossConnectStatus.InterfaceState getInterfaceState()
Whether Oracle’s side of the interface is up or down.
public Float getLightLevelIndBm()
The light level of the cross-connect (in dBm).
Example: `14.0`
public CrossConnectStatus.LightLevelIndicator getLightLevelIndicator()
Status indicator corresponding to the light level.
**NO_LIGHT:** No measurable light
**LOW_WARN:** There's measurable light but it's too low
**HIGH_WARN:** Light level is too high
**BAD:** There's measurable light but the signal-to-noise ratio is bad
**GOOD:** Good light level
Copyright © 2016–2021. All rights reserved.