Class CrossConnectStatus
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.CrossConnectStatus
-
@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 theCrossConnectStatus.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 theCrossConnectStatus.Builder
, which maintain a set of all explicitly set fields calledCrossConnectStatus.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.
-
Constructor Summary
Constructors Constructor Description CrossConnectStatus(String crossConnectId, CrossConnectStatus.InterfaceState interfaceState, Float lightLevelIndBm, CrossConnectStatus.LightLevelIndicator lightLevelIndicator, CrossConnectStatus.EncryptionStatus encryptionStatus, List<Float> lightLevelsInDBm)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
CrossConnectStatus
@Deprecated @ConstructorProperties({"crossConnectId","interfaceState","lightLevelIndBm","lightLevelIndicator","encryptionStatus","lightLevelsInDBm"}) public CrossConnectStatus(String crossConnectId, CrossConnectStatus.InterfaceState interfaceState, Float lightLevelIndBm, CrossConnectStatus.LightLevelIndicator lightLevelIndicator, CrossConnectStatus.EncryptionStatus encryptionStatus, List<Float> lightLevelsInDBm)
Deprecated.
-
-
Method Detail
-
builder
public static CrossConnectStatus.Builder builder()
Create a new builder.
-
toBuilder
public CrossConnectStatus.Builder toBuilder()
-
getCrossConnectId
public String getCrossConnectId()
The OCID of the cross-connect.- Returns:
- the value
-
getInterfaceState
public CrossConnectStatus.InterfaceState getInterfaceState()
Indicates whether Oracle’s side of the interface is up or down.- Returns:
- the value
-
getLightLevelIndBm
public Float getLightLevelIndBm()
The light level of the cross-connect (in dBm).Example: 14.0
- Returns:
- the value
-
getLightLevelIndicator
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
- Returns:
- the value
-
getEncryptionStatus
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
- Returns:
- the value
-
getLightLevelsInDBm
public List<Float> getLightLevelsInDBm()
The light levels of the cross-connect (in dBm).Example: [14.0, -14.0, 2.1, -10.1]
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-