Enum Class OpticalConnectRedundancyPriority
java.lang.Object
java.lang.Enum<OpticalConnectRedundancyPriority>
com.eqixiac.equinix.fabric.beta.enums.OpticalConnectRedundancyPriority
- All Implemented Interfaces:
Serializable, Comparable<OpticalConnectRedundancyPriority>, Constable
Role within the diverse pair. <br> PRIMARY - first connection of the pair. <br> SECONDARY - the diverse connection on a separate path.
Values from the spec; UNKNOWN is the read-side fallback for values added later.
Beta: Fabric v4 4.34.0 (spec read 2026-11-11).
Generated from the Fabric v4 OpenAPI spec by the fabric-beta generator; regenerate rather than hand-edit.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the wire value of this constant.Returns the enum constant of this class with the specified name.static OpticalConnectRedundancyPriority[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRIMARY
Wire valuePRIMARY. -
SECONDARY
Wire valueSECONDARY. -
UNKNOWN
Read-side fallback for any value this SDK version does not know.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
Returns the wire value of this constant.- Returns:
- the value exactly as the API sends it
-