Class CrossConnectStatus.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • crossConnectId

        public CrossConnectStatus.Builder crossConnectId​(String crossConnectId)
        The OCID of the cross-connect.
        Parameters:
        crossConnectId - the value to set
        Returns:
        this builder
      • lightLevelIndBm

        public CrossConnectStatus.Builder lightLevelIndBm​(Float lightLevelIndBm)
        The light level of the cross-connect (in dBm).

        Example: 14.0

        Parameters:
        lightLevelIndBm - the value to set
        Returns:
        this builder
      • lightLevelIndicator

        public 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

        Parameters:
        lightLevelIndicator - the value to set
        Returns:
        this builder
      • encryptionStatus

        public 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

        Parameters:
        encryptionStatus - the value to set
        Returns:
        this builder
      • lightLevelsInDBm

        public CrossConnectStatus.Builder lightLevelsInDBm​(List<Float> lightLevelsInDBm)
        The light levels of the cross-connect (in dBm).

        Example: [14.0, -14.0, 2.1, -10.1]

        Parameters:
        lightLevelsInDBm - the value to set
        Returns:
        this builder