public static class CrossConnectStatus.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CrossConnectStatus |
build() |
CrossConnectStatus.Builder |
copy(CrossConnectStatus model) |
CrossConnectStatus.Builder |
crossConnectId(String crossConnectId)
The OCID
of the cross-connect.
|
CrossConnectStatus.Builder |
encryptionStatus(CrossConnectStatus.EncryptionStatus encryptionStatus)
Encryption status of this cross connect.
|
CrossConnectStatus.Builder |
interfaceState(CrossConnectStatus.InterfaceState interfaceState)
Indicates whether Oracle’s side of the interface is up or down.
|
CrossConnectStatus.Builder |
lightLevelIndBm(Float lightLevelIndBm)
The light level of the cross-connect (in dBm).
|
CrossConnectStatus.Builder |
lightLevelIndicator(CrossConnectStatus.LightLevelIndicator lightLevelIndicator)
Status indicator corresponding to the light level.
|
CrossConnectStatus.Builder |
lightLevelsInDBm(List<Float> lightLevelsInDBm)
The light levels of the cross-connect (in dBm).
|
public CrossConnectStatus.Builder crossConnectId(String crossConnectId)
The OCID of the cross-connect.
crossConnectId
- the value to setpublic CrossConnectStatus.Builder interfaceState(CrossConnectStatus.InterfaceState interfaceState)
Indicates whether Oracle’s side of the interface is up or down.
interfaceState
- the value to setpublic CrossConnectStatus.Builder lightLevelIndBm(Float lightLevelIndBm)
The light level of the cross-connect (in dBm).
Example: 14.0
lightLevelIndBm
- the value to setpublic CrossConnectStatus.Builder lightLevelIndicator(CrossConnectStatus.LightLevelIndicator lightLevelIndicator)
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
lightLevelIndicator
- the value to setpublic CrossConnectStatus.Builder encryptionStatus(CrossConnectStatus.EncryptionStatus encryptionStatus)
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
encryptionStatus
- the value to setpublic CrossConnectStatus.Builder lightLevelsInDBm(List<Float> lightLevelsInDBm)
The light levels of the cross-connect (in dBm).
Example: [14.0, -14.0, 2.1, -10.1]
lightLevelsInDBm
- the value to setpublic CrossConnectStatus build()
public CrossConnectStatus.Builder copy(CrossConnectStatus model)
Copyright © 2016–2024. All rights reserved.