@Beta public static enum PathIntent.ProtectionType extends Enum<PathIntent.ProtectionType>
| Enum Constant and Description | 
|---|
BACKUP
Intent within backup path. 
 | 
FAILOVER
Intent whose flow rule serves as the fast failover
 between primary and backup paths. 
 | 
PRIMARY
Intent within primary path. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static PathIntent.ProtectionType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static PathIntent.ProtectionType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final PathIntent.ProtectionType PRIMARY
public static final PathIntent.ProtectionType BACKUP
public static final PathIntent.ProtectionType FAILOVER
public static PathIntent.ProtectionType[] values()
for (PathIntent.ProtectionType c : PathIntent.ProtectionType.values()) System.out.println(c);
public static PathIntent.ProtectionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null