Enum RemotePeeringConnection.PeeringStatus
- java.lang.Object
-
- java.lang.Enum<RemotePeeringConnection.PeeringStatus>
-
- com.oracle.bmc.vnmonitoring.model.RemotePeeringConnection.PeeringStatus
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<RemotePeeringConnection.PeeringStatus>
- Enclosing class:
- RemotePeeringConnection
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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
Invalid
public static final RemotePeeringConnection.PeeringStatus Invalid
-
New
public static final RemotePeeringConnection.PeeringStatus New
-
Pending
public static final RemotePeeringConnection.PeeringStatus Pending
-
Peered
public static final RemotePeeringConnection.PeeringStatus Peered
-
Revoked
public static final RemotePeeringConnection.PeeringStatus Revoked
-
-
Method Detail
-
values
public static RemotePeeringConnection.PeeringStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RemotePeeringConnection.PeeringStatus c : RemotePeeringConnection.PeeringStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RemotePeeringConnection.PeeringStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static RemotePeeringConnection.PeeringStatus create(String key)
-
-