Package com.exoscale.sdk.model
Enum SksNodepoolTaint.EffectEnum
- java.lang.Object
-
- java.lang.Enum<SksNodepoolTaint.EffectEnum>
-
- com.exoscale.sdk.model.SksNodepoolTaint.EffectEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<SksNodepoolTaint.EffectEnum>
- Enclosing class:
- SksNodepoolTaint
public static enum SksNodepoolTaint.EffectEnum extends Enum<SksNodepoolTaint.EffectEnum>
Nodepool taint effect
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOEXECUTE
NOSCHEDULE
PREFERNOSCHEDULE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SksNodepoolTaint.EffectEnum
fromValue(String value)
String
getValue()
String
toString()
static SksNodepoolTaint.EffectEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static SksNodepoolTaint.EffectEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOEXECUTE
public static final SksNodepoolTaint.EffectEnum NOEXECUTE
-
NOSCHEDULE
public static final SksNodepoolTaint.EffectEnum NOSCHEDULE
-
PREFERNOSCHEDULE
public static final SksNodepoolTaint.EffectEnum PREFERNOSCHEDULE
-
-
Method Detail
-
values
public static SksNodepoolTaint.EffectEnum[] 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 (SksNodepoolTaint.EffectEnum c : SksNodepoolTaint.EffectEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SksNodepoolTaint.EffectEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<SksNodepoolTaint.EffectEnum>
-
fromValue
public static SksNodepoolTaint.EffectEnum fromValue(String value)
-
-