Package org.jclouds.profitbricks.domain
Enum ServiceFault.Details.FaultCode
- java.lang.Object
-
- java.lang.Enum<ServiceFault.Details.FaultCode>
-
- org.jclouds.profitbricks.domain.ServiceFault.Details.FaultCode
-
- All Implemented Interfaces:
Serializable
,Comparable<ServiceFault.Details.FaultCode>
- Enclosing class:
- ServiceFault.Details
public static enum ServiceFault.Details.FaultCode extends Enum<ServiceFault.Details.FaultCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUEST
OVER_LIMIT_SETTING
PROVISIONING_IN_PROCESS
PROVISIONING_NO_CHANGES
RESOURCE_DELETED
RESOURCE_NOT_FOUND
SERVER_EXCEED_CAPACITY
SERVICE_UNAVAILABLE
UNAUTHORIZED
UNEXPECTED
UNRECOGNIZED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceFault.Details.FaultCode
fromValue(String v)
static ServiceFault.Details.FaultCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServiceFault.Details.FaultCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BAD_REQUEST
public static final ServiceFault.Details.FaultCode BAD_REQUEST
-
UNEXPECTED
public static final ServiceFault.Details.FaultCode UNEXPECTED
-
UNAUTHORIZED
public static final ServiceFault.Details.FaultCode UNAUTHORIZED
-
RESOURCE_NOT_FOUND
public static final ServiceFault.Details.FaultCode RESOURCE_NOT_FOUND
-
RESOURCE_DELETED
public static final ServiceFault.Details.FaultCode RESOURCE_DELETED
-
PROVISIONING_IN_PROCESS
public static final ServiceFault.Details.FaultCode PROVISIONING_IN_PROCESS
-
PROVISIONING_NO_CHANGES
public static final ServiceFault.Details.FaultCode PROVISIONING_NO_CHANGES
-
OVER_LIMIT_SETTING
public static final ServiceFault.Details.FaultCode OVER_LIMIT_SETTING
-
SERVER_EXCEED_CAPACITY
public static final ServiceFault.Details.FaultCode SERVER_EXCEED_CAPACITY
-
SERVICE_UNAVAILABLE
public static final ServiceFault.Details.FaultCode SERVICE_UNAVAILABLE
-
UNRECOGNIZED
public static final ServiceFault.Details.FaultCode UNRECOGNIZED
-
-
Method Detail
-
values
public static ServiceFault.Details.FaultCode[] 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 (ServiceFault.Details.FaultCode c : ServiceFault.Details.FaultCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceFault.Details.FaultCode 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
-
fromValue
public static ServiceFault.Details.FaultCode fromValue(String v)
-
-