AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::EnumerationValue

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing EnumerationValue as input to an Aws::Client method, you can use a vanilla Hash:

{
  value: "Value", # required
  synonyms: ["Value"],
}

Each slot type can have a set of values. Each enumeration value represents a value the slot type can take.

For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values

  • thick

  • thin

  • stuffed

Instance Attribute Summary collapse

Instance Attribute Details

#synonymsArray<String>

Additional values related to the slot type value.

Returns:

  • (Array<String>)

    Additional values related to the slot type value.

#valueString

The value of the slot type.

Returns:

  • (String)

    The value of the slot type.