Options (or enumerations) in Atlan allow you to define a set of valid values
for custom metadata attributes. Like other objects in the SDK, enumerations implement
the builder pattern. This allows you to progressively build-up the list of values you want to create.
Now that the object is built, this enumDef object will have the required information for Atlan to create it.
You can then actually create the enumeration in Atlan by calling the create() method on the object itself:
GET /api/meta/types/typedef/name/DataQualityDimensions
1
Options (enumerations) do not have a hashed-string representation
Note that unlike a custom metadata structure, options (enumerations) do not have
a hashed-string name. Therefore, use their human-readable name when retrieving its structure.
URL-encoding
However, since this name is embedded in the URL for retrieval,
it does need to be url-encoded. For example, if the name contains
spaces these need to be replaced with %20.
Options (enumerations) do not have a hashed-string representation
Note that unlike a custom metadata structure, options (enumerations)
do not have a hashed-string name. Therefore, use their human-readable name when deleting.
URL-encoding
However, since this name is embedded in the URL for deletion,
it does need to be url-encoded. For example, if the name contains
spaces these need to be replaced with %20.