Enum Class ComputePlatform

java.lang.Object
java.lang.Enum<ComputePlatform>
io.micronaut.context.env.ComputePlatform
All Implemented Interfaces:
Serializable, Comparable<ComputePlatform>, Constable

public enum ComputePlatform extends Enum<ComputePlatform>
Since:
1.0
Author:
Ryan Vanderwerf
  • Enum Constant Details

    • GOOGLE_COMPUTE

      public static final ComputePlatform GOOGLE_COMPUTE
      Google Compute Platform.
    • AMAZON_EC2

      public static final ComputePlatform AMAZON_EC2
      Amazon EC2.
    • AZURE

      public static final ComputePlatform AZURE
      Microsoft Azure.
    • ORACLE_CLOUD

      public static final ComputePlatform ORACLE_CLOUD
      Oracle Cloud.
    • DIGITAL_OCEAN

      public static final ComputePlatform DIGITAL_OCEAN
      Digital Ocean.
    • BARE_METAL

      public static final ComputePlatform BARE_METAL
      Cloud or non cloud provider on bare metal (unknown).
    • IBM

      public static final ComputePlatform IBM
      IBM Cloud.
    • OTHER

      public static final ComputePlatform OTHER
      Other.
  • Method Details

    • values

      public static ComputePlatform[] 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

      public static ComputePlatform valueOf(String name)
      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 name
      NullPointerException - if the argument is null