@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CrossConnectStatus extends com.oracle.bmc.http.client.internal.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 CrossConnectStatus.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CrossConnectStatus.Builder |
static class |
CrossConnectStatus.EncryptionStatus
Encryption status of this cross connect.
|
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.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CrossConnectStatus(String crossConnectId,
CrossConnectStatus.InterfaceState interfaceState,
Float lightLevelIndBm,
CrossConnectStatus.LightLevelIndicator lightLevelIndicator,
CrossConnectStatus.EncryptionStatus encryptionStatus,
List<Float> lightLevelsInDBm)
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.EncryptionStatus |
getEncryptionStatus()
Encryption status of this 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.
|
List<Float> |
getLightLevelsInDBm()
The light levels of the cross-connect (in dBm).
|
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","encryptionStatus","lightLevelsInDBm"}) public CrossConnectStatus(String crossConnectId, CrossConnectStatus.InterfaceState interfaceState, Float lightLevelIndBm, CrossConnectStatus.LightLevelIndicator lightLevelIndicator, CrossConnectStatus.EncryptionStatus encryptionStatus, List<Float> lightLevelsInDBm)
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 CrossConnectStatus.EncryptionStatus getEncryptionStatus()
Encryption status of this cross connect.
Possible values: * **UP:** Traffic is encrypted over this cross-connect * **DOWN:** Traffic is not encrypted over this cross-connect * **CIPHER_MISMATCH:** The MACsec encryption cipher doesn't match the cipher on the CPE * **CKN_MISMATCH:** The MACsec Connectivity association Key Name (CKN) doesn't match the CKN on the CPE * **CAK_MISMATCH:** The MACsec Connectivity Association Key (CAK) doesn't match the CAK on the CPE
public List<Float> getLightLevelsInDBm()
The light levels of the cross-connect (in dBm).
Example: [14.0, -14.0, 2.1, -10.1]
public String toString()
toString
in class com.oracle.bmc.http.client.internal.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 com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.