Enum CrossConnectStatus.EncryptionStatus
- java.lang.Object
-
- java.lang.Enum<CrossConnectStatus.EncryptionStatus>
-
- com.oracle.bmc.vnmonitoring.model.CrossConnectStatus.EncryptionStatus
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CrossConnectStatus.EncryptionStatus>
- Enclosing class:
- CrossConnectStatus
public static enum CrossConnectStatus.EncryptionStatus extends Enum<CrossConnectStatus.EncryptionStatus> implements BmcEnum
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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CakMismatch
CipherMismatch
CknMismatch
Down
Up
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CrossConnectStatus.EncryptionStatus
create(String key)
String
getValue()
static CrossConnectStatus.EncryptionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static CrossConnectStatus.EncryptionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Up
public static final CrossConnectStatus.EncryptionStatus Up
-
Down
public static final CrossConnectStatus.EncryptionStatus Down
-
CipherMismatch
public static final CrossConnectStatus.EncryptionStatus CipherMismatch
-
CknMismatch
public static final CrossConnectStatus.EncryptionStatus CknMismatch
-
CakMismatch
public static final CrossConnectStatus.EncryptionStatus CakMismatch
-
-
Method Detail
-
values
public static CrossConnectStatus.EncryptionStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CrossConnectStatus.EncryptionStatus c : CrossConnectStatus.EncryptionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrossConnectStatus.EncryptionStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static CrossConnectStatus.EncryptionStatus create(String key)
-
-