public static enum BgpLinkAttrProtectionType.ProtectionType extends java.lang.Enum<BgpLinkAttrProtectionType.ProtectionType>
| Enum Constant and Description |
|---|
DEDICATED_ONE_ISTO_ONE |
DEDICATED_ONE_PLUS_ONE |
ENHANCED |
EXTRA_TRAFFIC |
RESERVED |
SHARED |
UNPROTECTED |
| Modifier and Type | Method and Description |
|---|---|
byte |
type()
Returns value of link protection type.
|
static BgpLinkAttrProtectionType.ProtectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BgpLinkAttrProtectionType.ProtectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BgpLinkAttrProtectionType.ProtectionType EXTRA_TRAFFIC
public static final BgpLinkAttrProtectionType.ProtectionType UNPROTECTED
public static final BgpLinkAttrProtectionType.ProtectionType SHARED
public static final BgpLinkAttrProtectionType.ProtectionType DEDICATED_ONE_ISTO_ONE
public static final BgpLinkAttrProtectionType.ProtectionType DEDICATED_ONE_PLUS_ONE
public static final BgpLinkAttrProtectionType.ProtectionType ENHANCED
public static final BgpLinkAttrProtectionType.ProtectionType RESERVED
public static BgpLinkAttrProtectionType.ProtectionType[] values()
for (BgpLinkAttrProtectionType.ProtectionType c : BgpLinkAttrProtectionType.ProtectionType.values()) System.out.println(c);
public static BgpLinkAttrProtectionType.ProtectionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte type()