Package io.micronaut.context.env
Enum Class ComputePlatform
- All Implemented Interfaces:
Serializable
,Comparable<ComputePlatform>
,Constable
- Since:
- 1.0
- Author:
- Ryan Vanderwerf
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAmazon EC2.Microsoft Azure.Cloud or non cloud provider on bare metal (unknown).Digital Ocean.Google Compute Platform.IBM Cloud.Oracle Cloud.Other. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComputePlatform
Returns the enum constant of this class with the specified name.static ComputePlatform[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GOOGLE_COMPUTE
Google Compute Platform. -
AMAZON_EC2
Amazon EC2. -
AZURE
Microsoft Azure. -
ORACLE_CLOUD
Oracle Cloud. -
DIGITAL_OCEAN
Digital Ocean. -
BARE_METAL
Cloud or non cloud provider on bare metal (unknown). -
IBM
IBM Cloud. -
OTHER
Other.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-