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.ExplicitlySetBmcModelThe 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 classCrossConnectStatus.Builderstatic classCrossConnectStatus.EncryptionStatusEncryption status of this cross connect.static classCrossConnectStatus.InterfaceStateIndicates whether Oracle’s side of the interface is up or down.static classCrossConnectStatus.LightLevelIndicatorStatus 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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCrossConnectId()The OCID of the cross-connect.CrossConnectStatus.EncryptionStatusgetEncryptionStatus()Encryption status of this cross connect.CrossConnectStatus.InterfaceStategetInterfaceState()Indicates whether Oracle’s side of the interface is up or down.FloatgetLightLevelIndBm()The light level of the cross-connect (in dBm).CrossConnectStatus.LightLevelIndicatorgetLightLevelIndicator()Status indicator corresponding to the light level.List<Float>getLightLevelsInDBm()The light levels of the cross-connect (in dBm).inthashCode()CrossConnectStatus.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-