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