public enum ComputePlatform extends Enum<ComputePlatform>
Enum Constant and Description |
---|
AMAZON_EC2
Amazon EC2.
|
AZURE
Microsoft Azure.
|
BARE_METAL
Cloud or non cloud provider on bare metal (unknown).
|
DIGITAL_OCEAN
Digital Ocean.
|
GOOGLE_COMPUTE
Google Compute Platform.
|
IBM
IBM Cloud.
|
OTHER
Other.
|
Modifier and Type | Method and Description |
---|---|
static ComputePlatform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputePlatform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputePlatform GOOGLE_COMPUTE
public static final ComputePlatform AMAZON_EC2
public static final ComputePlatform AZURE
public static final ComputePlatform DIGITAL_OCEAN
public static final ComputePlatform BARE_METAL
public static final ComputePlatform IBM
public static final ComputePlatform OTHER
public static ComputePlatform[] values()
for (ComputePlatform c : ComputePlatform.values()) System.out.println(c);
public static ComputePlatform valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null