public static enum LocalPeeringGateway.PeeringStatus extends Enum<LocalPeeringGateway.PeeringStatus> implements BmcEnum
Whether the LPG is peered with another LPG. NEW
means the LPG has not yet been
peered. PENDING
means the peering is being established. REVOKED
means the LPG
at the other end of the peering has been deleted.
Enum Constant and Description |
---|
Invalid |
New |
Peered |
Pending |
Revoked |
Modifier and Type | Method and Description |
---|---|
static LocalPeeringGateway.PeeringStatus |
create(String key) |
String |
getValue() |
static LocalPeeringGateway.PeeringStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalPeeringGateway.PeeringStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalPeeringGateway.PeeringStatus Invalid
public static final LocalPeeringGateway.PeeringStatus New
public static final LocalPeeringGateway.PeeringStatus Peered
public static final LocalPeeringGateway.PeeringStatus Pending
public static final LocalPeeringGateway.PeeringStatus Revoked
public static LocalPeeringGateway.PeeringStatus[] values()
for (LocalPeeringGateway.PeeringStatus c : LocalPeeringGateway.PeeringStatus.values()) System.out.println(c);
public static LocalPeeringGateway.PeeringStatus 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 nullpublic static LocalPeeringGateway.PeeringStatus create(String key)
Copyright © 2016–2024. All rights reserved.