Package org.jclouds.openstack.domain
Enum Class Link.Relation
- All Implemented Interfaces:
Serializable
,Comparable<Link.Relation>
,java.lang.constant.Constable
- Enclosing class:
Link
Relations associated with resources.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionan alternate representation of the resource.a permanent link to a resource that is appropriate for long term storage.a versioned link to the resource.the value returned by the OpenStack service was not recognized. -
Method Summary
Modifier and TypeMethodDescriptionstatic Link.Relation
value()
static Link.Relation
Returns the enum constant of this class with the specified name.static Link.Relation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SELF
a versioned link to the resource. These links should be used in cases where the link will be followed immediately. -
BOOKMARK
a permanent link to a resource that is appropriate for long term storage. -
DESCRIBEDBY
-
ALTERNATE
an alternate representation of the resource. For example, an OpenStack Compute image may have an alternate representation in the OpenStack Image service. -
UNRECOGNIZED
the value returned by the OpenStack service was not recognized.
-
-
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
-
value
-
fromValue
-