Enum ResourceType.Type
- java.lang.Object
-
- java.lang.Enum<ResourceType.Type>
-
- io.openraven.magpie.data.aws.shared.ResourceType.Type
-
- All Implemented Interfaces:
Serializable,Comparable<ResourceType.Type>
- Enclosing class:
- ResourceType
public static enum ResourceType.Type extends Enum<ResourceType.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceType.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static ResourceType.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPUTE
public static final ResourceType.Type COMPUTE
-
STORAGE
public static final ResourceType.Type STORAGE
-
DATABASE
public static final ResourceType.Type DATABASE
-
NETWORKING
public static final ResourceType.Type NETWORKING
-
OTHER
public static final ResourceType.Type OTHER
-
ACCOUNT
public static final ResourceType.Type ACCOUNT
-
REGION
public static final ResourceType.Type REGION
-
METADATA
public static final ResourceType.Type METADATA
-
ANALYTICS
public static final ResourceType.Type ANALYTICS
-
-
Method Detail
-
values
public static ResourceType.Type[] 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 (ResourceType.Type c : ResourceType.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceType.Type 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
-
-