java.lang.Object
java.lang.Enum<HostTypeDefinition>
org.odpi.openmetadata.samples.archiveutilities.businesssystems.HostTypeDefinition
All Implemented Interfaces:
Serializable, Comparable<HostTypeDefinition>, Constable

public enum HostTypeDefinition extends Enum<HostTypeDefinition>
The HostTypeDefinition is used to set up the open metadata type of host.
  • Enum Constant Details

    • BARE_METAL

      public static final HostTypeDefinition BARE_METAL
      BareMetalComputer
    • VIRTUAL_MACHINE

      public static final HostTypeDefinition VIRTUAL_MACHINE
      VirtualMachine
    • DOCKER_CONTAINER

      public static final HostTypeDefinition DOCKER_CONTAINER
      DockerContainer
    • HADOOP_CLUSTER

      public static final HostTypeDefinition HADOOP_CLUSTER
      HadoopCluster
    • KUBERNETES_CLUSTER

      public static final HostTypeDefinition KUBERNETES_CLUSTER
      KubernetesCluster
    • SOFTWARE_SERVER_PLATFORM

      public static final HostTypeDefinition SOFTWARE_SERVER_PLATFORM
      SoftwareServerPlatform
  • Method Details

    • values

      public static HostTypeDefinition[] 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 HostTypeDefinition 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
    • getOpenMetadataTypeName

      public String getOpenMetadataTypeName()
      This is the name of the open metadata type to use when creating the Host entity.
      Returns:
      string value
    • toString

      public String toString()
      Output of this enum class and main value.
      Overrides:
      toString in class Enum<HostTypeDefinition>
      Returns:
      string showing enum value