@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CrossConnectStatus extends ExplicitlySetBmcModel
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
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__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
Indicates 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) |
String |
getCrossConnectId()
The OCID of the cross-connect.
|
CrossConnectStatus.InterfaceState |
getInterfaceState()
Indicates 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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"crossConnectId","interfaceState","lightLevelIndBm","lightLevelIndicator"}) 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()
Indicates 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
public String toString()
toString
in class ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.