Package hudson.plugins.spotinst.common
Enum AwsInstanceTypeSelectMethodEnum
- java.lang.Object
-
- java.lang.Enum<AwsInstanceTypeSelectMethodEnum>
-
- hudson.plugins.spotinst.common.AwsInstanceTypeSelectMethodEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<AwsInstanceTypeSelectMethodEnum>
public enum AwsInstanceTypeSelectMethodEnum extends Enum<AwsInstanceTypeSelectMethodEnum>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsInstanceTypeSelectMethodEnum
fromName(String name)
String
getName()
static AwsInstanceTypeSelectMethodEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static AwsInstanceTypeSelectMethodEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PICK
public static final AwsInstanceTypeSelectMethodEnum PICK
-
SEARCH
public static final AwsInstanceTypeSelectMethodEnum SEARCH
-
-
Method Detail
-
values
public static AwsInstanceTypeSelectMethodEnum[] 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 (AwsInstanceTypeSelectMethodEnum c : AwsInstanceTypeSelectMethodEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AwsInstanceTypeSelectMethodEnum 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
-
getName
public String getName()
-
fromName
public static AwsInstanceTypeSelectMethodEnum fromName(String name)
-
-