Enum Class HostTypeDefinition
java.lang.Object
java.lang.Enum<HostTypeDefinition>
org.odpi.openmetadata.samples.archiveutilities.businesssystems.HostTypeDefinition
- All Implemented Interfaces:
Serializable
,Comparable<HostTypeDefinition>
,Constable
The HostTypeDefinition is used to set up the open metadata type of host.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBareMetalComputerDockerContainerHadoopClusterKubernetesClusterSoftwareServerPlatformVirtualMachine -
Method Summary
Modifier and TypeMethodDescriptionThis is the name of the open metadata type to use when creating the Host entity.toString()
Output of this enum class and main value.static HostTypeDefinition
Returns the enum constant of this class with the specified name.static HostTypeDefinition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BARE_METAL
BareMetalComputer -
VIRTUAL_MACHINE
VirtualMachine -
DOCKER_CONTAINER
DockerContainer -
HADOOP_CLUSTER
HadoopCluster -
KUBERNETES_CLUSTER
KubernetesCluster -
SOFTWARE_SERVER_PLATFORM
SoftwareServerPlatform
-
-
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
-
getOpenMetadataTypeName
This is the name of the open metadata type to use when creating the Host entity.- Returns:
- string value
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<HostTypeDefinition>
- Returns:
- string showing enum value
-