Enum InstancePoolAwsAttributesAvailability
- java.lang.Object
-
- java.lang.Enum<InstancePoolAwsAttributesAvailability>
-
- com.databricks.sdk.service.compute.InstancePoolAwsAttributesAvailability
-
- All Implemented Interfaces:
Serializable
,Comparable<InstancePoolAwsAttributesAvailability>
@Generated public enum InstancePoolAwsAttributesAvailability extends Enum<InstancePoolAwsAttributesAvailability>
Availability type used for the spot nodes.The default value is defined by InstancePoolConf.instancePoolDefaultAwsAvailability
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ON_DEMAND
SPOT
SPOT_WITH_FALLBACK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstancePoolAwsAttributesAvailability
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstancePoolAwsAttributesAvailability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON_DEMAND
public static final InstancePoolAwsAttributesAvailability ON_DEMAND
-
SPOT
public static final InstancePoolAwsAttributesAvailability SPOT
-
SPOT_WITH_FALLBACK
public static final InstancePoolAwsAttributesAvailability SPOT_WITH_FALLBACK
-
-
Method Detail
-
values
public static InstancePoolAwsAttributesAvailability[] 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 (InstancePoolAwsAttributesAvailability c : InstancePoolAwsAttributesAvailability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstancePoolAwsAttributesAvailability 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
-
-