Enum LBaaSStatus
- java.lang.Object
-
- java.lang.Enum<LBaaSStatus>
-
- org.jclouds.openstack.neutron.v2.domain.lbaas.v1.LBaaSStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<LBaaSStatus>
public enum LBaaSStatus extends Enum<LBaaSStatus>
Enumerates supported Neutron LBaaS v1 resources status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The LBaaS v1 resource is ready and active.ERROR
The LBaaS v1 resource is in an error state.INACTIVE
The LBaaS v1 resource is created but not active.PENDING_CREATE
The LBaaS v1 resource is being created.PENDING_DELETE
The LBaaS v1 resource is going to be deleted.PENDING_UPDATE
The LBaaS v1 resource is being updated.UNRECOGNIZED
Used by jclouds when the service returns an unknown value other than null.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LBaaSStatus
fromValue(String name)
String
toString()
static LBaaSStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static LBaaSStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final LBaaSStatus ACTIVE
The LBaaS v1 resource is ready and active.
-
PENDING_CREATE
public static final LBaaSStatus PENDING_CREATE
The LBaaS v1 resource is being created.
-
PENDING_UPDATE
public static final LBaaSStatus PENDING_UPDATE
The LBaaS v1 resource is being updated.
-
PENDING_DELETE
public static final LBaaSStatus PENDING_DELETE
The LBaaS v1 resource is going to be deleted.
-
INACTIVE
public static final LBaaSStatus INACTIVE
The LBaaS v1 resource is created but not active.
-
ERROR
public static final LBaaSStatus ERROR
The LBaaS v1 resource is in an error state.
-
UNRECOGNIZED
public static final LBaaSStatus UNRECOGNIZED
Used by jclouds when the service returns an unknown value other than null.
-
-
Method Detail
-
values
public static LBaaSStatus[] 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 (LBaaSStatus c : LBaaSStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LBaaSStatus 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<LBaaSStatus>
-
fromValue
public static LBaaSStatus fromValue(String name)
-
-